simplified reason assignment
This commit is contained in:
parent
24df1d827f
commit
a37624a50d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue