diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2020-06-28 21:19:06 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2020-06-28 21:19:06 +0000 |
commit | ba4272f2a15376b3df4880c97a7bfa7f445eb0c4 (patch) | |
tree | 25b40dfeb3005caa5ec06db8b6b77be43fd54600 /cogs | |
parent | d2c48f914a57fc0eb3c55ffc877d4dae73273270 (diff) | |
download | steve-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-x | cogs/utils.py | 1 |
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"]): |