mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix for error when persisting voice state
This commit is contained in:
parent
7154c006dc
commit
8c83b7d684
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue