huge changes
This commit is contained in:
8
handlers/pendingCloses.js
Normal file
8
handlers/pendingCloses.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Shared pending-close timer map.
|
||||
* Keyed by channel.id → { timeout, userId, username }.
|
||||
* Used by buttons.js (sets timers) and commands.js (cancel-close clears them).
|
||||
*/
|
||||
const pendingCloses = new Map();
|
||||
|
||||
module.exports = { pendingCloses };
|
||||
Reference in New Issue
Block a user