diff --git a/simplematrixbotlib/bot.py b/simplematrixbotlib/bot.py index 15180ef..2c0e252 100644 --- a/simplematrixbotlib/bot.py +++ b/simplematrixbotlib/bot.py @@ -76,4 +76,4 @@ def run(self): """ - asyncio.get_event_loop().run_until_complete(self.main()) + asyncio.run(self.main())