From 71d3b0b72d99c0b88d1ec0d7a0f95f925d93d935 Mon Sep 17 00:00:00 2001 From: Will Hunt <half-shot@molrams.com> Date: Thu, 16 Mar 2017 13:10:48 +0000 Subject: [PATCH] Decrease presence timer --- src/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.ts b/src/bot.ts index c2ba2a7..1b368c0 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -15,7 +15,7 @@ import * as path from "path"; // messages get delayed from discord. const MSG_PROCESS_DELAY = 750; const MATRIX_TO_LINK = "https://matrix.to/#/"; -const PRESENCE_UPDATE_DELAY = 60000; // Synapse updates in 30 intervals. +const PRESENCE_UPDATE_DELAY = 60000 - 5000; // Synapse updates in 55 second intervals. class ChannelLookupResult { public channel: Discord.TextChannel; public botUser: boolean; -- GitLab