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

This commit is contained in:
Willy 2021-08-20 20:06:51 -04:00 committed by GitHub
parent 5390caa67d
commit fa5a2188bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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