mirror of
https://github.com/CAG2Mark/SuperUserBot.git
synced 2025-01-12 15:26:25 +01:00
forgot to multiply minutes by 60. oops
This commit is contained in:
parent
e73c533570
commit
1e51bd7bd3
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue