Added functionality to connect to discord web api
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user