Beispiel #1
0
 def __init__(self, bot, config, *args, **kwargs):
     """
     :type bot: cloudbot.bot.CloudBot
     :type config: Config
     """
     self.bot = bot
     self.config = config
     Trick.__init__(self, *args, **kwargs)
Beispiel #2
0
 def __init__(self, bot, config, *args, **kwargs):
     """
     :type bot: core.bot.CloudBot
     :type config: Config
     """
     self.bot = bot
     self.config = config
     self.logger = config.logger
     Trick.__init__(self, *args, **kwargs)
Beispiel #3
0
 def __init__(self, loader, *args, **kwargs):
     """
     :type loader: PluginLoader
     """
     self.loader = loader
     Trick.__init__(self, *args, **kwargs)
Beispiel #4
0
 def __init__(self, config, *args, **kwargs):
     self.config = config
     self.logger = config.logger
     Trick.__init__(self, *args, **kwargs)
Beispiel #5
0
 def __init__(self, loader, *args, **kwargs):
     """
     :type loader: PluginLoader
     """
     self.loader = loader
     Trick.__init__(self, *args, **kwargs)
Beispiel #6
0
 def __init__(self, loader, *args, **kwargs):
     self.loader = loader
     Trick.__init__(self, *args, **kwargs)