memed/bot/ext/common.py

10 lines
153 B
Python
Raw Normal View History

2017-12-02 01:04:35 +00:00
class Cog:
def __init__(self, bot):
self.bot = bot
self.loop = bot.loop
@property
def db(self):
return self.bot.db