3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 14:11:50 +00:00

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 && template &&
(await renderTemplate(template, { (await renderTemplate(template, {
guildName: this.guild.name, guildName: this.guild.name,
reason: reason || reason === "" ? "None" : reason, reason: !reason || reason === "" ? "None" : reason,
time: timeUntilUnmute, time: timeUntilUnmute,
})); }));