memed/bot/ext/common.py
2017-12-01 22:04:35 -03:00

9 lines
153 B
Python

class Cog:
def __init__(self, bot):
self.bot = bot
self.loop = bot.loop
@property
def db(self):
return self.bot.db