aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-10-09 18:59:58 +0300
committerGravatar GitHub <[email protected]>2020-10-09 18:59:58 +0300
commit040ac421a26a270e64d9ed745fe28ee886181fed (patch)
tree7d8e09f282e5e78422f29625f41aedd8c393cdb0
parentUse asyncio.gather instead manual looping and awaiting (diff)
Make bot shutdown remove all other non-extension cogs again
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 2f366a3ef..10c4c901b 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -110,7 +110,7 @@ class Bot(commands.Bot):
await asyncio.gather(*self.closing_tasks)
# Now actually do full close of bot
- await super(commands.Bot, self).close()
+ await super().close()
await self.api_client.close()