aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorSkycloudd <51929172+Skycloudd@users.noreply.github.com>2020-09-27 10:21:50 +0000
committerSkycloudd <51929172+Skycloudd@users.noreply.github.com>2020-09-27 10:21:50 +0000
commit6b1fd9fd805299aee86905e2026c970cca351db2 (patch)
tree15bfdcd9c06ab174ab947cca0aaecebb3ee82eea /cogs
parentb9ac88864c832e0283c4fdcb9041900533f8807b (diff)
downloadsteve-bot-6b1fd9fd805299aee86905e2026c970cca351db2.tar
steve-bot-6b1fd9fd805299aee86905e2026c970cca351db2.tar.gz
steve-bot-6b1fd9fd805299aee86905e2026c970cca351db2.tar.bz2
steve-bot-6b1fd9fd805299aee86905e2026c970cca351db2.tar.lz
steve-bot-6b1fd9fd805299aee86905e2026c970cca351db2.tar.xz
steve-bot-6b1fd9fd805299aee86905e2026c970cca351db2.tar.zst
steve-bot-6b1fd9fd805299aee86905e2026c970cca351db2.zip
add 5 minute cooldown to pending command
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/src.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cogs/src.py b/cogs/src.py
index 81285a1..d2da654 100755
--- a/cogs/src.py
+++ b/cogs/src.py
@@ -332,6 +332,7 @@ class Src(commands.Cog):
async def is_mod(ctx):
return ctx.author.guild_permissions.manage_channels
+ @commands.cooldown(300, 1, commands.BucketType.guild)
@commands.command(description="Posts all pending runs to #pending-runs")
@commands.guild_only()
async def pending(self, ctx):