예제 #1
0
 def __init__(self, bot: commands.Bot):
     self.bot = bot
     self.logger = logger_setup(self.__class__.__name__)
예제 #2
0
 def __init__(self, bot: commands.Bot):
     self.bot = bot
     self.logger = logger_setup(self.__class__.__name__)
     self.dbclient = get_dbclient()
     self.db = self.dbclient.get_database()
     self.meme_entries: pymongo.collection.Collection = None
예제 #3
0
 def __init__(self, bot: commands.Bot):
     self.bot = bot
     self.logger = logger_setup(self.__class__.__name__)
     self.parrot_dict = self.get_parrot_dict()
     self.hd_parrot_dict = self.get_parrot_dict(hd=True)
     self.parrot_bomb_limit = 5
예제 #4
0
 def __init__(self, bot: commands.Bot):
     self.bot = bot
     self.logger = logger_setup(self.__class__.__name__)
     self.dbclient = get_dbclient()
     self.db = self.dbclient.get_database()
예제 #5
0
 def __init__(self, bot):
     self.bot = bot
     self.logger = logger_setup(self.__class__.__name__)
     self.packturl = "https://www.packtpub.com/packt/offers/free-learning"