From ba4272f2a15376b3df4880c97a7bfa7f445eb0c4 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Sun, 28 Jun 2020 22:19:06 +0100 Subject: Cooldown of 60 sec to @someone --- cogs/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/utils.py b/cogs/utils.py index 68567f0..6227e0a 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -220,6 +220,7 @@ class Utils(commands.Cog): #return await ctx.send(f"{ctx.message.author.display_name}, you have to wait {round(error.retry_after, 2)} seconds before using this again.") + @commands.cooldown(1, 60, commands.BucketType.guild) @commands.command() async def someone(self, ctx): if ctx.channel.id != int(self.bot.config[str(ctx.message.guild.id)]["fair_channel"]): -- cgit v1.2.3