diff options
| author | 2025-05-03 22:49:04 +0100 | |
|---|---|---|
| committer | 2025-05-03 22:49:04 +0100 | |
| commit | 5cccfa4844f92e7b54df344d23f527b434cf1090 (patch) | |
| tree | e69bc443d4e30177ba1692b6b74ea179c47a60dd /arthur/bot.py | |
| parent | Only attempt to get secret value if grafana token is not none (diff) | |
Allow helpers to access rule 4
Diffstat (limited to 'arthur/bot.py')
| -rw-r--r-- | arthur/bot.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/bot.py b/arthur/bot.py index b39ae60..32b0240 100644 --- a/arthur/bot.py +++ b/arthur/bot.py @@ -35,7 +35,7 @@ class KingArthur(BotBase):                  return CONFIG.devops_role in [r.id for r in ctx.user.roles]              return False -        if ctx.command.name == "ed": +        if ctx.command.name in {"ed", "rules"}:              return True          if not ctx.guild:  |