diff --git a/src/plugins/Persist.ts b/src/plugins/Persist.ts index 1d9bab93..f46c3809 100644 --- a/src/plugins/Persist.ts +++ b/src/plugins/Persist.ts @@ -44,7 +44,7 @@ export class PersistPlugin extends Plugin { persistData.nickname = member.nick; } - if (this.configValue("persist_voice_mutes")) { + if (this.configValue("persist_voice_mutes") && member.voiceState.mute != null) { persist = true; persistData.is_voice_muted = member.voiceState.mute; }