From dcc8e8172623bfe2cc133006c5ab0433e503ec9f Mon Sep 17 00:00:00 2001
From: Skycloudd <51929172+Skycloudd@users.noreply.github.com>
Date: Thu, 21 Jan 2021 14:47:09 +0100
Subject: increase pending command cooldown to 10 minutes
---
cogs/src.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cogs/src.py b/cogs/src.py
index 67d5cca..a5abb26 100755
--- a/cogs/src.py
+++ b/cogs/src.py
@@ -333,7 +333,7 @@ class Src(commands.Cog):
async def is_mod(ctx):
return ctx.author.guild_permissions.manage_channels
- @commands.cooldown(1, 300, commands.BucketType.guild)
+ @commands.cooldown(1, 600, commands.BucketType.guild)
@commands.command(description="Posts all pending runs to #pending-runs")
@commands.guild_only()
async def pending(self, ctx):
--
cgit v1.2.3
o' rowspan='2'>
index : steve-bot.git | |
MCBE's discord bot | Luca Matei Pintilie <luca@lucamatei.com> |