def part_handler(self, target): yield from ChannelStore.create_or_update( dict( channel=target, network_id=self.config.id, status='2' ) )
def callback(): yield from ChannelStore.create_or_update( dict( channel=channel, network_id=self.bot.config.id, status='3' ) )
def join_handler(self, target, password): yield from ChannelStore.create_or_update( dict( channel=target, network_id=self.config.id, password=password, status='0' ) )