3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +00:00

simplified reason assignment

This commit is contained in:
roflmaoqwerty 2020-01-21 22:34:01 +11:00
parent ae36c33ca9
commit bb875bff98

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,
}));