Browse Source
Copy docs from Client.close() to Bot.close()
pull/7435/head
Willy
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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: |
|
|
|