Disable reaction role auto-refreshing
This commit is contained in:
parent
38ea14a442
commit
c806e8415a
1 changed files with 5 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue