From 3217f350178104a813a25ac9b488ae3e59ba9187 Mon Sep 17 00:00:00 2001 From: Tiago R Date: Fri, 29 Dec 2023 14:30:40 +0000 Subject: [PATCH] implement MEMBER_MUTE_EXPIRED (#437) Signed-off-by: GitHub --- backend/src/plugins/Mutes/functions/clearMute.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/plugins/Mutes/functions/clearMute.ts b/backend/src/plugins/Mutes/functions/clearMute.ts index 0bef1881f..f96068c75 100644 --- a/backend/src/plugins/Mutes/functions/clearMute.ts +++ b/backend/src/plugins/Mutes/functions/clearMute.ts @@ -57,9 +57,10 @@ export async function clearMute( await member.timeout(null); } } + pluginData.getPlugin(LogsPlugin).logMemberMuteExpired({ member }); } catch { pluginData.getPlugin(LogsPlugin).logBotAlert({ - body: `Failed to remove mute role from ${verboseUserMention(member.user)}`, + body: `Failed to clear mute from ${verboseUserMention(member.user)}`, }); } finally { lock.unlock();