3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +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 d869685d2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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