mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix antiraid level not being set properly
This commit is contained in:
parent
84ed1405f0
commit
60af27c526
1 changed files with 2 additions and 2 deletions
|
@ -1361,8 +1361,8 @@ export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema, ICustomOverride
|
|||
}
|
||||
|
||||
protected async setAntiraidLevel(level: string | null, user?: User) {
|
||||
this.cachedAntiraidLevel = null;
|
||||
await this.antiraidLevels.set(null);
|
||||
this.cachedAntiraidLevel = level;
|
||||
await this.antiraidLevels.set(level);
|
||||
|
||||
if (user) {
|
||||
this.guildLogs.log(LogType.SET_ANTIRAID_USER, {
|
||||
|
|
Loading…
Add table
Reference in a new issue