0.3 - Nachricht bei shutdown und restart wird nicht geschickt vor neustart (#62) #111

Merged
edraft merged 2 commits from #62 into 0.3 2022-11-11 07:21:35 +01:00
Showing only changes of commit 588a8e140f - Show all commits

View File

@ -122,6 +122,11 @@ class LevelGroup(DiscordCommandABC):
return
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:
color = hex(discord.Colour.from_str(color).value)
except Exception as e: