simplified reason assignment

This commit is contained in:
roflmaoqwerty 2020-01-21 22:34:01 +11:00
parent 24df1d827f
commit a37624a50d

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 || "None",
time: timeUntilUnmute, time: timeUntilUnmute,
})); }));