forgot to multiply minutes by 60. oops

This commit is contained in:
CAG2Mark 2024-04-28 23:24:09 +08:00
parent e73c533570
commit 1e51bd7bd3

2
bot.py
View file

@ -79,7 +79,7 @@ class Bot:
await inter.user.add_roles(sudo_role)
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)