From 24df1d827fce35f6df0ac78c1cd76831dadfb384 Mon Sep 17 00:00:00 2001 From: roflmaoqwerty Date: Tue, 21 Jan 2020 22:19:28 +1100 Subject: [PATCH] fixed a bug where mute reasons were not relayed to the user --- backend/src/plugins/Mutes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Mutes.ts b/backend/src/plugins/Mutes.ts index 567878d8..8a63b6d9 100644 --- a/backend/src/plugins/Mutes.ts +++ b/backend/src/plugins/Mutes.ts @@ -188,7 +188,7 @@ export class MutesPlugin extends ZeppelinPlugin { template && (await renderTemplate(template, { guildName: this.guild.name, - reason: reason || reason === "" ? "None" : reason, + reason: !reason || reason === "" ? "None" : reason, time: timeUntilUnmute, }));