3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

Disable reaction role auto-refreshing

This commit is contained in:
Dragory 2021-08-19 22:11:20 +03:00
parent f57001fa3a
commit 30aa5be955

View file

@ -141,11 +141,11 @@ export const ReactionRolesPlugin = zeppelinGuildPlugin<ReactionRolesPluginType>(
},
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) {