Fix error channel (thanks ctrl+z)
This commit is contained in:
parent
0179f3913c
commit
ad41accdc3
1
bot.py
1
bot.py
|
@ -115,6 +115,7 @@ if __name__ == '__main__':
|
||||||
# Setup our bot vars, db and cache
|
# Setup our bot vars, db and cache
|
||||||
bot.db = utils.DB()
|
bot.db = utils.DB()
|
||||||
bot.cache = utils.Cache(bot.db)
|
bot.cache = utils.Cache(bot.db)
|
||||||
|
bot.error_channel = utils.error_channel
|
||||||
# Start our startup task (cache sets up the database, so just this)
|
# Start our startup task (cache sets up the database, so just this)
|
||||||
bot.loop.create_task(bot.cache.setup())
|
bot.loop.create_task(bot.cache.setup())
|
||||||
for e in utils.extensions:
|
for e in utils.extensions:
|
||||||
|
|
Loading…
Reference in a new issue