From 6280a6ae2f0f169f8a932f3c0f2c39c08d724b92 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Mon, 4 Jan 2021 01:27:48 +0100 Subject: Group punishment is a war crime --- cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utils.py b/cogs/utils.py index fdc7a9f..6f73219 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -452,7 +452,7 @@ class Utils(commands.Cog): # 4 minute cooldown # should probably be longer - we can't have these kids cheating! - @commands.cooldown(1, 24, commands.BucketType.guild) + @commands.cooldown(1, 24, commands.BucketType.user) @commands.command() async def timezone(self, ctx, timeZone): """set timezone for fair days/streaks""" -- cgit v1.2.3 From 1eeb15e604cca528ff223d4608ef73ab4e0c7582 Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Mon, 4 Jan 2021 01:38:11 +0100 Subject: 24 hour timezone change cooldown --- cogs/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/utils.py b/cogs/utils.py index 6f73219..2455f48 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -450,9 +450,9 @@ class Utils(commands.Cog): except UnboundLocalError: pass - # 4 minute cooldown + # 24 hour cooldown # should probably be longer - we can't have these kids cheating! - @commands.cooldown(1, 24, commands.BucketType.user) + @commands.cooldown(1, 86400, commands.BucketType.user) @commands.command() async def timezone(self, ctx, timeZone): """set timezone for fair days/streaks""" -- cgit v1.2.3