3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Disable reaction role auto-refreshing

This commit is contained in:
Dragory 2021-08-19 22:11:20 +03:00
parent 38ea14a442
commit c806e8415a
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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) {