mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
implement MEMBER_MUTE_EXPIRED (#437)
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
8a4a2d3647
commit
3217f35017
1 changed files with 2 additions and 1 deletions
|
@ -57,9 +57,10 @@ export async function clearMute(
|
||||||
await member.timeout(null);
|
await member.timeout(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pluginData.getPlugin(LogsPlugin).logMemberMuteExpired({ member });
|
||||||
} catch {
|
} catch {
|
||||||
pluginData.getPlugin(LogsPlugin).logBotAlert({
|
pluginData.getPlugin(LogsPlugin).logBotAlert({
|
||||||
body: `Failed to remove mute role from ${verboseUserMention(member.user)}`,
|
body: `Failed to clear mute from ${verboseUserMention(member.user)}`,
|
||||||
});
|
});
|
||||||
} finally {
|
} finally {
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
|
|
Loading…
Add table
Reference in a new issue