Skip to content

Commit

Permalink
fix privileges issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMarisOUMary committed Dec 20, 2023
1 parent 0667506 commit 7537aaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cogs/birthday.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ async def show_birthday_message(self, interaction: discord.Interaction, user: Un

@bot_has_permissions(view_channel=True)
@commands.command(name="triggerbirthday")
@commands.has_permissions(administrator=True)
@commands.cooldown(1, 25, commands.BucketType.guild)
@commands.is_owner()
@commands.guild_only()
async def config_invite_logs(self, ctx: commands.Context, guild_id: Optional[int] = None) -> None:
"""Trigger manually the birthday."""
Expand Down

0 comments on commit 7537aaf

Please sign in to comment.