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:
parent
0c996db59a
commit
381abcf293
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue