Added commands I think

This commit is contained in:
JustMaffie 2017-05-27 23:45:32 +02:00
parent 691625f6a8
commit e0a042e9a5

View File

@ -10,7 +10,8 @@ logging.basicConfig(filename='titanbot.log',level=logging.INFO,format='%(asctime
logging.getLogger('TitanBot')
logging.getLogger('sqlalchemy')
bot = commands.Bot(command_prefix=config['command-prefix'])
def initFirst(self):
self.bot = commands.Bot(command_prefix=config['command-prefix'])
self.aiosession = aiohttp.ClientSession(loop=self.loop)
self.http.user_agent += ' TitanEmbeds-Bot'
self.database = DatabaseInterface(self)