diff --git a/src/modules/admin/command/shutdown_command.py b/src/modules/admin/command/shutdown_command.py index b4177c5440..0fe0f5fb3d 100644 --- a/src/modules/admin/command/shutdown_command.py +++ b/src/modules/admin/command/shutdown_command.py @@ -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')