aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-10-09 19:35:33 +0300
committerGravatar GitHub <[email protected]>2020-10-09 19:35:33 +0300
commitff5c90bf12f14abb4d0a5bc73af435e53ffc7e3e (patch)
tree2ed0a2cae7f641b242c9d4fd44e0ddff7e37e37e
parentMerge remote-tracking branch 'up/master' into bug-fixes (diff)
Fix calling extensions removing function with wrong name
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index b51e41117..e6d77344e 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -145,7 +145,7 @@ class Bot(commands.Bot):
async def close(self) -> None:
"""Close the Discord connection and the aiohttp session, connector, statsd client, and resolver."""
# Done before super().close() to allow tasks finish before the HTTP session closes.
- self.remove_extensions()
+ self._remove_extensions()
# Wait until all tasks that have to be completed before bot is closing is done
log.trace("Waiting for tasks before closing.")