コード例 #1
0
ファイル: github.py プロジェクト: FuryingFox/ProgBott
 def __init__(self, bot):
     self.bot = bot
     database = DB(data_dir=self.bot.data_dir)
     database.populate_tables()
コード例 #2
0
 def __init__(self, bot):
     self.bot = bot
     cacher = self.Cacher(self)
     self.bot.loop.create_task(cacher.loop())
     database = DB(data_dir=self.bot.data_dir)
     database.populate_tables()