3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

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