aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-06-28 21:19:06 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-06-28 21:19:06 +0000
commitba4272f2a15376b3df4880c97a7bfa7f445eb0c4 (patch)
tree25b40dfeb3005caa5ec06db8b6b77be43fd54600 /cogs
parentd2c48f914a57fc0eb3c55ffc877d4dae73273270 (diff)
downloadsteve-bot-ba4272f2a15376b3df4880c97a7bfa7f445eb0c4.tar
steve-bot-ba4272f2a15376b3df4880c97a7bfa7f445eb0c4.tar.gz
steve-bot-ba4272f2a15376b3df4880c97a7bfa7f445eb0c4.tar.bz2
steve-bot-ba4272f2a15376b3df4880c97a7bfa7f445eb0c4.tar.lz
steve-bot-ba4272f2a15376b3df4880c97a7bfa7f445eb0c4.tar.xz
steve-bot-ba4272f2a15376b3df4880c97a7bfa7f445eb0c4.tar.zst
steve-bot-ba4272f2a15376b3df4880c97a7bfa7f445eb0c4.zip
Cooldown of 60 sec to @someone
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/utils.py1
1 files changed, 1 insertions, 0 deletions
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"]):