mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-18 18:40:47 -04:00
smaller cooldown
This commit is contained in:
@@ -5,7 +5,7 @@ const { buildRoverStatusSnapshot } = require('./batteryEmbeds');
|
|||||||
function createLiveStatus({ client, logger, discordConfig, roverManager, getActiveDrivers,
|
function createLiveStatus({ client, logger, discordConfig, roverManager, getActiveDrivers,
|
||||||
getNickname, io, fetchChannel, sanitizeMentions,
|
getNickname, io, fetchChannel, sanitizeMentions,
|
||||||
turnEvents, nicknameEvents }) {
|
turnEvents, nicknameEvents }) {
|
||||||
const COOLDOWN_MS = 3000;
|
const COOLDOWN_MS = 2000;
|
||||||
let timer = null;
|
let timer = null;
|
||||||
let sweepTimer = null;
|
let sweepTimer = null;
|
||||||
let pending = false;
|
let pending = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user