Browse Source

Copy docs from Client.close() to Bot.close()

pull/7435/head
Willy 4 years ago
committed by GitHub
parent
commit
fa5a2188bb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      discord/ext/commands/bot.py

1
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:

Loading…
Cancel
Save