mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
fix: isCommunicationDisabled()
This commit is contained in:
parent
7c8573c6d5
commit
017ef5674a
3 changed files with 3 additions and 8 deletions
|
@ -53,7 +53,7 @@ export async function clearMute(
|
|||
if (muteRole && member.roles.cache.has(muteRole)) {
|
||||
await member.roles.remove(muteRole);
|
||||
}
|
||||
if (member.communicationDisabledUntilTimestamp) {
|
||||
if (member.isCommunicationDisabled()) {
|
||||
await member.timeout(null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue