mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
Temporarily disable guild auto-leaving
This commit is contained in:
parent
f6be4f4af6
commit
f19e365bf6
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ interface GuildAccessMonitorPluginType extends BasePluginType {
|
|||
async function checkGuild(pluginData: GlobalPluginData<GuildAccessMonitorPluginType>, guild: Guild) {
|
||||
if (!(await pluginData.state.allowedGuilds.isAllowed(guild.id))) {
|
||||
console.log(`Non-allowed server ${guild.name} (${guild.id}), leaving`);
|
||||
guild.leave();
|
||||
console.log("[Temporarily not leaving automatically]");
|
||||
// guild.leave();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue