aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arthur/exts/fun/devops_rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/exts/fun/devops_rules.py b/arthur/exts/fun/devops_rules.py
index ebe5b6f..26e1b6b 100644
--- a/arthur/exts/fun/devops_rules.py
+++ b/arthur/exts/fun/devops_rules.py
@@ -27,7 +27,7 @@ class Rules(Cog):
number, rule = line.split(".", maxsplit=1)
self.rules[int(number)] = rule.strip()
- @group(name="rules", aliases=("rule",))
+ @group(name="rules", aliases=("rule",), invoke_without_command=True)
async def rules_group(self, ctx: Context, rules: Greedy[int]) -> None:
"""List the requested rule(s), or all of them if not defined."""
if rules: