aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-07-27 17:28:21 +0200
committerGravatar Johannes Christ <[email protected]>2018-07-27 17:28:21 +0200
commit88f9f03df3bcf162bebc0515dbe20799043bdaf1 (patch)
tree7789e8d8db068e54e7dc6d74c9cf2a491c78d955
parentFix command group permissions. (diff)
Seems I'm blind.
-rw-r--r--bot/cogs/defcon.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/cogs/defcon.py b/bot/cogs/defcon.py
index 054a93e63..8ca59b058 100644
--- a/bot/cogs/defcon.py
+++ b/bot/cogs/defcon.py
@@ -98,6 +98,7 @@ class Defcon:
)
@group(name='defcon', aliases=('dc',), invoke_without_command=True)
+ @with_role(Roles.admin, Roles.owner)
async def defcon_group(self, ctx: Context):
"""Check the DEFCON status or run a subcommand."""