From 905a4ce56e58dfb6c903af1afd23a71c4f72427b Mon Sep 17 00:00:00 2001 From: Tiago R Date: Sun, 26 Nov 2023 15:13:48 +0000 Subject: [PATCH] implement MEMBER_MUTE_EXPIRED 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();