From 248033d936ebc1875571ea57cfea79bccb5a0966 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 6 Feb 2023 10:49:21 +0100 Subject: [PATCH] Update main.py --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 870c1c7..83c7b4a 100644 --- a/main.py +++ b/main.py @@ -62,6 +62,7 @@ async def private_present(ctx: discord.ApplicationContext, subject: str, style: # a cooldown of duration cooldown seconds, except if the user is 707196665668436019 #@commands.cooldown(1, int(cooldown), commands.BucketType.user) +@commands.cooldown(1, int(cooldown), commands.BucketType.guild) async def present(ctx: discord.ApplicationContext, subject: str, style: str = "default", language: str = "english", indications: str = ""): await ctx.defer() date = datetime.datetime.now()