aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/info/help.py b/bot/exts/info/help.py
index 9d7f0702e..518330370 100644
--- a/bot/exts/info/help.py
+++ b/bot/exts/info/help.py
@@ -181,8 +181,8 @@ class CustomHelpCommand(HelpCommand):
command_details += "***You cannot run this command.***\n\n"
except DisabledCommand:
command_details += "***This command is disabled.***\n\n"
- except CommandError as e:
- log.warning(f"An exception raised when trying to check {command.name} command running permission: {e}")
+ except CommandError:
+ command_details += "***You cannot run this command.***\n\n"
command_details += f"*{command.help or 'No details provided.'}*\n"
embed.description = command_details