Fixed shutdown command

This commit is contained in:
Sven Heidemann 2022-10-05 19:11:34 +02:00
parent 359a614a1a
commit abac507e87

View File

@ -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')