Added functionality to connect to discord web api

This commit is contained in:
2021-11-15 20:34:15 +01:00
parent abe9a7b472
commit 26a93c5ea1
10 changed files with 72 additions and 22 deletions

View File

@@ -20,6 +20,6 @@ class Application(ApplicationABC):
async def main(self):
try:
await self._bot.run()
await self._bot.start_async()
except Exception as e:
self._logger.error(__name__, 'A fatal error occured starting the bot', e)
self._logger.error(__name__, 'Start failed', e)