/** * 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 };