Compare commits

..

No commits in common. "1a5917ac6b0f9bbdc5d83df26cd820e5d869afc2" and "b4fce51b571f98d0d3c3249da776646c22c50496" have entirely different histories.

View File

@ -58,8 +58,8 @@ class RestartCommand(DiscordCommandABC):
self._config.add_configuration('IS_RESTART', 'true')
await self._client_utils.presence_game('common.presence.restart')
await self._message_service.send_ctx_msg(ctx, self._t.transform('modules.admin.restart_message'))
await asyncio.sleep(self._settings.wait_for_restart)
await self._message_service.send_ctx_msg(ctx, self._t.transform('modules.admin.restart_message'))
await self._bot.stop_async()
self._logger.trace(__name__, f'Finished restart command')