From 7537aaf0fc7130a9f5e9d8c654eef52e29ceafbf Mon Sep 17 00:00:00 2001 From: Paul MarisOUMary Date: Wed, 20 Dec 2023 15:39:38 +0100 Subject: [PATCH] fix privileges issue --- cogs/birthday.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cogs/birthday.py b/cogs/birthday.py index df2cea8..ab99cd3 100644 --- a/cogs/birthday.py +++ b/cogs/birthday.py @@ -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."""