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

Merge pull request #30 from roflmaoqwerty/mute-reason-fix

fixed a bug where mute reasons were not relayed to the user
This commit is contained in:
Miikka 2020-01-21 13:34:41 +02:00 committed by GitHub
commit 81398a6fe7

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