fixed a bug where mute reasons were not relayed to the user

This commit is contained in:
roflmaoqwerty 2020-01-21 22:19:28 +11:00
parent 0818b0479b
commit 24df1d827f

View file

@ -188,7 +188,7 @@ export class MutesPlugin extends ZeppelinPlugin<TConfigSchema> {
template &&
(await renderTemplate(template, {
guildName: this.guild.name,
reason: reason || reason === "" ? "None" : reason,
reason: !reason || reason === "" ? "None" : reason,
time: timeUntilUnmute,
}));