aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/bot.py b/bot/bot.py
index c9eb24bb5..f5f76b7f8 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -92,8 +92,8 @@ class Bot(commands.Bot):
self._recreate()
super().clear()
- def remove_extensions(self) -> None:
- """Remove all extensions and Cog to close bot. Copy from discord.py's own `close` for right closing order."""
+ def _remove_extensions(self) -> None:
+ """Remove all extensions and Cog to close bot. Copyright (c) 2015-2020 Rapptz (discord.py, MIT License)."""
for extension in tuple(self.extensions):
try:
self.unload_extension(extension)