Ejemplo n.º 1
0
 def recv_loop(self):
     """
     Runs the event system. This method is a blocking one.
     """
     plugin_manager.handle_plugins(self, "init")
     plugin_manager.handle_plugins(self, "connect")
     return IRCClient.recv_loop(self)
Ejemplo n.º 2
0
 def event_generic(self, event_generic, args):
     IRCClient.event_generic(self, event_generic, args)
     plugin_manager.handle_plugins(self, event_generic, args)
Ejemplo n.º 3
0
 def dispatch_event(self, event_generic, args):
     import plugin_manager
     plugin_manager.handle_plugins(self.bot, event_generic, args)