forked from sh-edraft.de/sh_discord_bot
Fixed shutdown command
This commit is contained in:
parent
359a614a1a
commit
abac507e87
@ -56,8 +56,8 @@ class ShutdownCommand(DiscordCommandABC):
|
||||
return
|
||||
|
||||
await self._client_utils.presence_game('common.presence.shutdown')
|
||||
await asyncio.sleep(self._settings.wait_for_shutdown)
|
||||
await self._message_service.send_ctx_msg(ctx, self._t.transform('modules.admin.shutdown_message'))
|
||||
await asyncio.sleep(self._settings.wait_for_shutdown)
|
||||
await self._bot.stop_async()
|
||||
|
||||
self._logger.trace(__name__, f'Finished shutdown command')
|
||||
|
Loading…
Reference in New Issue
Block a user