mirror of
https://github.com/CAG2Mark/SuperUserBot.git
synced 2024-11-10 12:34:00 +01:00
multiply time by 60
This commit is contained in:
parent
60eae4309a
commit
2365a0c85b
2
bot.py
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user