/** * Shared pending-close timer map. * Keyed by channel.id → { timeout, username, sendEmail }. * Used by buttons.js (sets timers) and commands/ (cancel-close clears them). */ const pendingCloses = new Map(); module.exports = { pendingCloses };