Added received command to new commands #105
This commit is contained in:
@@ -41,7 +41,6 @@ class PurgeCommand(DiscordCommandABC):
|
||||
self._logger.debug(__name__, f'Received command purge {ctx}')
|
||||
if not await self._client_utils.check_if_bot_is_ready_yet_and_respond(ctx):
|
||||
return
|
||||
|
||||
self._client_utils.received_command(ctx.guild.id)
|
||||
server_settings: ServerSettings = self._config.get_configuration(f'ServerSettings_{ctx.guild.id}')
|
||||
|
||||
|
@@ -47,6 +47,7 @@ class RestartCommand(DiscordCommandABC):
|
||||
self._logger.debug(__name__, f'Received command restart {ctx}')
|
||||
if not await self._client_utils.check_if_bot_is_ready_yet_and_respond(ctx):
|
||||
return
|
||||
self._client_utils.received_command(ctx.guild.id)
|
||||
|
||||
self._client_utils.received_command(ctx.guild.id)
|
||||
|
||||
|
@@ -47,6 +47,7 @@ class ShutdownCommand(DiscordCommandABC):
|
||||
self._logger.debug(__name__, f'Received command shutdown {ctx}')
|
||||
if not await self._client_utils.check_if_bot_is_ready_yet_and_respond(ctx):
|
||||
return
|
||||
self._client_utils.received_command(ctx.guild.id)
|
||||
|
||||
self._client_utils.received_command(ctx.guild.id)
|
||||
|
||||
|
Reference in New Issue
Block a user