feat: mise à jour du code

This commit is contained in:
UltraLionFr
2025-08-26 01:21:58 +02:00
parent 944845cd11
commit d3d3642ec3
29 changed files with 487 additions and 320 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
const activeAlerts = new Map();
function scheduleTicketClosure(channel, duration, closeFn) {
if (activeAlerts.has(channel.id)) {
clearTimeout(activeAlerts.get(channel.id));
@@ -24,4 +23,4 @@ function cancelTicketClosure(channelId) {
return false;
}
module.exports = { scheduleTicketClosure, cancelTicketClosure };
module.exports = { scheduleTicketClosure, cancelTicketClosure };