mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Add initial support for app command localisation
This commit is contained in:
@ -471,12 +471,7 @@ class AutoShardedClient(Client):
|
||||
return
|
||||
|
||||
self._closed = True
|
||||
|
||||
for vc in self.voice_clients:
|
||||
try:
|
||||
await vc.disconnect(force=True)
|
||||
except Exception:
|
||||
pass
|
||||
await self._connection.close()
|
||||
|
||||
to_close = [asyncio.ensure_future(shard.close(), loop=self.loop) for shard in self.__shards.values()]
|
||||
if to_close:
|
||||
|
Reference in New Issue
Block a user