From c806e8415a7cc0de977e78240d2a7078fe8ca142 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Thu, 19 Aug 2021 22:11:20 +0300 Subject: [PATCH] Disable reaction role auto-refreshing --- .../src/plugins/ReactionRoles/ReactionRolesPlugin.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/src/plugins/ReactionRoles/ReactionRolesPlugin.ts b/backend/src/plugins/ReactionRoles/ReactionRolesPlugin.ts index 5690cd07..076e13ed 100644 --- a/backend/src/plugins/ReactionRoles/ReactionRolesPlugin.ts +++ b/backend/src/plugins/ReactionRoles/ReactionRolesPlugin.ts @@ -141,11 +141,11 @@ export const ReactionRolesPlugin = zeppelinGuildPlugin( }, afterLoad(pluginData) { - let autoRefreshInterval = pluginData.config.get().auto_refresh_interval; - if (autoRefreshInterval != null) { - autoRefreshInterval = Math.max(MIN_AUTO_REFRESH, autoRefreshInterval); - autoRefreshLoop(pluginData, autoRefreshInterval); - } + // let autoRefreshInterval = pluginData.config.get().auto_refresh_interval; + // if (autoRefreshInterval != null) { + // autoRefreshInterval = Math.max(MIN_AUTO_REFRESH, autoRefreshInterval); + // autoRefreshLoop(pluginData, autoRefreshInterval); + // } }, beforeUnload(pluginData) {