From 2365a0c85be394ff3d94060c4899c2d0d5d0c7f2 Mon Sep 17 00:00:00 2001 From: CAG2Mark Date: Mon, 29 Apr 2024 15:02:54 +0800 Subject: [PATCH] multiply time by 60 --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 8710590..64eb857 100644 --- a/bot.py +++ b/bot.py @@ -88,7 +88,7 @@ class Bot: await inter.response.send_message(embed=error_embed("Unkown error when giving you the sudo role. Please contact an administrator."), ephemeral=True) return; - del_time = int(datetime.utcnow().timestamp()) + duration + del_time = int(datetime.utcnow().timestamp()) + duration * 60 self.rq.add(del_time, inter.user.id, inter.guild_id, sudo_role_id) await inter.response.send_message(embed=success_embed("You are now in sudo mode."), ephemeral=True)