mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-18 08:43:57 +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)
|
await sendPresetReplyAndLogs(action, interaction, user, preset, expires)
|
||||||
},
|
},
|
||||||
} satisfies Command
|
} satisfies Command
|
||||||
|
|||||||
Reference in New Issue
Block a user