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