diff --git a/app/services/gamebridge/payloads/StatusPayload.ts b/app/services/gamebridge/payloads/StatusPayload.ts index c1ae4d6c..3f0fd632 100644 --- a/app/services/gamebridge/payloads/StatusPayload.ts +++ b/app/services/gamebridge/payloads/StatusPayload.ts @@ -61,13 +61,6 @@ const getRandomActivity = (gamemode: string) => { export default class StatusPayload extends Payload { protected static requestSchema = requestSchema; private static retryCount = 0; - private static lastStatusUpdate: boolean[] = []; - - static async initialize(): Promise { - setInterval(() => { - this.lastStatusUpdate.splice(0, this.lastStatusUpdate.length); - }, 1000 * 5); - } static async handle(payload: StatusRequest, server: GameServer): Promise { super.handle(payload, server); @@ -120,10 +113,6 @@ export default class StatusPayload extends Payload { const guild = discord.guilds.cache.get(discord.config.bot.primaryGuildId); if (!guild) return; - if (players && this.lastStatusUpdate.length > 5) return; // burst prevention - - if (players) this.lastStatusUpdate.push(true); - // Nick if (discord.user) { const me = guild.members.cache.get(discord.user.id);