aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--bot/cogs/eval.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 4321d9324..be4f43c7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -103,6 +103,9 @@ ENV/
# PyCharm
.idea/
+# VSCode
+.vscode/
+
# Vagrant
.vagrant
diff --git a/bot/cogs/eval.py b/bot/cogs/eval.py
index 421fa5b53..8261b0a3b 100644
--- a/bot/cogs/eval.py
+++ b/bot/cogs/eval.py
@@ -178,7 +178,8 @@ async def func(): # (None,) -> Any
async def internal_group(self, ctx):
"""Internal commands. Top secret!"""
- await ctx.invoke(self.bot.get_command("help"), "internal")
+ if not ctx.invoked_subcommand:
+ await ctx.invoke(self.bot.get_command("help"), "internal")
@internal_group.command(name='eval', aliases=('e',))
@with_role(Roles.admin, Roles.owner)