3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 14:11:50 +00:00

feat: add custom emoji to errorMessage

This commit is contained in:
vcokltfre 2021-09-29 21:01:50 +01:00
parent 0c996db59a
commit 381abcf293
No known key found for this signature in database
GPG key ID: E461EF9A8A59924F

View file

@ -573,7 +573,7 @@ export function successMessage(str, emoji = process.env.EMOJI_CHECK || "<:zep_ch
return emoji ? `${emoji} ${str}` : str; return emoji ? `${emoji} ${str}` : str;
} }
export function errorMessage(str, emoji = "⚠") { export function errorMessage(str, emoji = process.env.EMOJI_ERROR || "⚠") {
return emoji ? `${emoji} ${str}` : str; return emoji ? `${emoji} ${str}` : str;
} }