Removed le comments that made this less painful to read through. (also used to lead copilot to water somewhat.)

This commit is contained in:
Nix Krystik
2026-05-16 17:43:28 +08:00
parent 7dcc71d240
commit 9dc2034700
-3
View File
@@ -43,10 +43,8 @@ export default {
}); });
} }
// Set cooldown
cooldowns.set(userId, now + COOLDOWN_TIME); cooldowns.set(userId, now + COOLDOWN_TIME);
// Optional cleanup
setTimeout(() => { setTimeout(() => {
cooldowns.delete(userId); cooldowns.delete(userId);
}, COOLDOWN_TIME); }, COOLDOWN_TIME);
@@ -89,7 +87,6 @@ export default {
}], }],
flags: [MessageFlags.Ephemeral] flags: [MessageFlags.Ephemeral]
}); });
} catch (error) { } catch (error) {
console.error(error); console.error(error);
if (!interaction.replied) { if (!interaction.replied) {