3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

fix: isCommunicationDisabled()

This commit is contained in:
Dragory 2023-04-01 20:15:03 +03:00
parent 7c8573c6d5
commit 017ef5674a
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
3 changed files with 3 additions and 8 deletions

View file

@ -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);
}
}