mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(bot/discord): start remove preset timeout for role-preset command
This commit is contained in:
@@ -79,6 +79,11 @@ export default {
|
||||
)
|
||||
}
|
||||
|
||||
if (expires)
|
||||
setTimeout(() => {
|
||||
removeRolePreset(member, preset)
|
||||
}, expires)
|
||||
|
||||
await sendPresetReplyAndLogs(action, interaction, user, preset, expires)
|
||||
},
|
||||
} satisfies Command
|
||||
|
||||
Reference in New Issue
Block a user