mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
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) {
|
afterLoad(pluginData) {
|
||||||
let autoRefreshInterval = pluginData.config.get().auto_refresh_interval;
|
// let autoRefreshInterval = pluginData.config.get().auto_refresh_interval;
|
||||||
if (autoRefreshInterval != null) {
|
// if (autoRefreshInterval != null) {
|
||||||
autoRefreshInterval = Math.max(MIN_AUTO_REFRESH, autoRefreshInterval);
|
// autoRefreshInterval = Math.max(MIN_AUTO_REFRESH, autoRefreshInterval);
|
||||||
autoRefreshLoop(pluginData, autoRefreshInterval);
|
// autoRefreshLoop(pluginData, autoRefreshInterval);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeUnload(pluginData) {
|
beforeUnload(pluginData) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue