fix(bot/discord): start remove preset timeout for role-preset command

This commit is contained in:
PalmDevs
2024-07-26 01:25:31 +07:00
parent bd906fbf54
commit cbf91162e2

View File

@@ -79,6 +79,11 @@ export default {
)
}
if (expires)
setTimeout(() => {
removeRolePreset(member, preset)
}, expires)
await sendPresetReplyAndLogs(action, interaction, user, preset, expires)
},
} satisfies Command