Compare commits
No commits in common. "2646dccb91720a35b2b79896b251e52334273821" and "ef41ce03d346e753dc2a07a1bc554fb67f9f2558" have entirely different histories.
2646dccb91
...
ef41ce03d3
@ -58,8 +58,8 @@ class RestartCommand(DiscordCommandABC):
|
|||||||
|
|
||||||
self._config.add_configuration('IS_RESTART', 'true')
|
self._config.add_configuration('IS_RESTART', 'true')
|
||||||
await self._client_utils.presence_game('common.presence.restart')
|
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 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()
|
await self._bot.stop_async()
|
||||||
|
|
||||||
self._logger.trace(__name__, f'Finished restart command')
|
self._logger.trace(__name__, f'Finished restart command')
|
||||||
|
@ -122,11 +122,6 @@ class LevelGroup(DiscordCommandABC):
|
|||||||
return
|
return
|
||||||
self._client_utils.received_command(ctx.guild.id)
|
self._client_utils.received_command(ctx.guild.id)
|
||||||
|
|
||||||
if not self._permissions.is_member_admin(ctx.author):
|
|
||||||
await self._message_service.send_ctx_msg(ctx, self._t.transform('common.no_permission_message'))
|
|
||||||
self._logger.trace(__name__, f'Finished command level remove')
|
|
||||||
return
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
color = hex(discord.Colour.from_str(color).value)
|
color = hex(discord.Colour.from_str(color).value)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user