Skip to content

Commit

Permalink
Fixed permissions in quote
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Aug 13, 2024
1 parent cc5b872 commit cfb1f4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sausage_bot/cogs/quote.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,10 @@ def check(interaction: discord.Interaction, reaction, user):
)
return

@commands.check_any(
commands.is_owner(),
commands.has_permissions(administrator=True)
)
@group.command(
name="count", description="Count the number of quotes"
)
Expand Down

0 comments on commit cfb1f4d

Please sign in to comment.