Skip to content

Commit

Permalink
Make command admin-only
Browse files Browse the repository at this point in the history
Less responsibility for me 🎉
  • Loading branch information
janine9vn committed Nov 29, 2023
1 parent bb2ef3f commit 17fb7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/exts/advent_of_code/_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def adventofcode_group(self, ctx: commands.Context) -> None:
await self.bot.invoke_help_command(ctx)

@with_role(Roles.admins)
@in_whitelist(role_override=(Roles.admins, Roles.events_lead), fail_silently=True)
@in_whitelist(role_override=(Roles.admins,), fail_silently=True)
@adventofcode_group.command(
name="block",
brief="Block a user from getting the completionist role.",
Expand Down

0 comments on commit 17fb7fd

Please sign in to comment.