From fa5a2188bbe18d081d3875cbb1632a7d5b522f2f Mon Sep 17 00:00:00 2001 From: Willy <19799671+Willy-C@users.noreply.github.com> Date: Fri, 20 Aug 2021 20:06:51 -0400 Subject: [PATCH] Copy docs from Client.close() to Bot.close() --- discord/ext/commands/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index ba108153b..b4da61001 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: