aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly <[email protected]>2021-08-20 20:06:51 -0400
committerGitHub <[email protected]>2021-08-20 20:06:51 -0400
commitfa5a2188bbe18d081d3875cbb1632a7d5b522f2f (patch)
treeb6d906f8b91b96ebead98a187a2075f667e3d904
parentTypehint shard.py (diff)
downloaddiscord.py-fa5a2188bbe18d081d3875cbb1632a7d5b522f2f.tar.xz
discord.py-fa5a2188bbe18d081d3875cbb1632a7d5b522f2f.zip
Copy docs from Client.close() to Bot.close()
-rw-r--r--discord/ext/commands/bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index ba108153..b4da6100 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -156,6 +156,7 @@ class BotBase(GroupMixin):
for event in self.extra_events.get(ev, []):
self._schedule_event(event, ev, *args, **kwargs) # type: ignore
+ @discord.utils.copy_doc(discord.Client.close)
async def close(self) -> None:
for extension in tuple(self.__extensions):
try: