예제 #1
0
 def handlers(self):
     return [  #abstracts.Handler('DSC:COMMAND:?NOOBLIST', self, self.nooblist),
         abstracts.Handler('DSC:COMMAND:?USERINFO', self, self.getinfo),
         abstracts.Handler('TWITCH:MSG',
                           self,
                           self.chatcount,
                           priority=abstracts.Handler.PRIORITY_MONITOR)
     ]
예제 #2
0
파일: status.py 프로젝트: Mike111177/Modbot
 def handlers(self):
     return [
         abstracts.Handler('DSC:COMMAND:?STATUS',
                           self,
                           self.command,
                           parse=statparse),
         abstracts.Handler('STATUS',
                           self,
                           self.status,
                           priority=abstracts.Handler.PRIORITY_HOOK)
     ]
예제 #3
0
 def handlers(self):
     return [
         abstracts.Handler('TWITCH:MSG', self, self.ircmsg),
         abstracts.Handler('DSC:COMMAND:?REVOKE',
                           self,
                           self.revoke,
                           parse=revokeparse),
         abstracts.Handler('TWITCH:MOD:TWITCHBOT_REJECTED', self,
                           self.twitchbot_rejected),
         abstracts.Handler("DSC:MSG", self, self.logmessage),
         abstracts.Handler('TWITCH:MOD',
                           self,
                           self.mod_action,
                           priority=abstracts.Handler.PRIORITY_MIN)
     ]
예제 #4
0
 def handlers(self):
     return [
         abstracts.Handler("STATUS",
                           self,
                           self.status,
                           priority=abstracts.Handler.PRIORITY_HOOK)
     ]
예제 #5
0
 def handlers(self):
     return [abstracts.Handler('DSC:COMMAND:?FIND', self, self.command, parse=parse)]
예제 #6
0
 def handlers(self):
     return [abstracts.Handler('DSC:COMMAND:?WEATHER', self, self.command)]
예제 #7
0
 def handlers(self):
     return [abstracts.Handler('DSC:COMMAND:?DISINFO', self, self.command)]
예제 #8
0
파일: github.py 프로젝트: Mike111177/Modbot
 def handlers(self):
     return [abstracts.Handler('DSC:COMMAND:?GITHUB', self, self.command)]
예제 #9
0
 def handlers(self):
     return [abstracts.Handler("DSC:MSG", self, self.proc, abstracts.Handler.PRIORITY_HIGH),
             abstracts.Handler("DSC:COMMAND:?COMMANDS", self, self.commands, help=commandshelp),
             abstracts.Handler("DSC:COMMAND:?HELP", self, self.helpcommand, help=helphelp)]