diff --git a/heroku/modules/heroku_web.py b/heroku/modules/heroku_web.py index 16bb25e..9a4d7bc 100644 --- a/heroku/modules/heroku_web.py +++ b/heroku/modules/heroku_web.py @@ -341,7 +341,7 @@ class HerokuWebMod(loader.Module): ) return - asyncio.ensure_future(self.schedule_restart(self, call, client)) + asyncio.ensure_future(self.schedule_restart(call, client)) async def inline_2fa_handler(self, call, data, client, phone, user): @@ -372,4 +372,4 @@ class HerokuWebMod(loader.Module): ) return - asyncio.ensure_future(self.schedule_restart(self, call, client)) \ No newline at end of file + asyncio.ensure_future(self.schedule_restart(call, client)) \ No newline at end of file