Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tildezero authored May 1, 2021
1 parent 1e5d22c commit de39ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, *args, **kwargs):
self.config = json.load(file)

self.session = aiohttp.ClientSession()
self.mongo = motor.motor_asyncio.AsyncIOMotorClient()
self.mongo = motor.motor_asyncio.AsyncIOMotorClient(self.config['mongo_uri'])
self.db = self.mongo['bot']


Expand Down

0 comments on commit de39ac6

Please sign in to comment.