Skip to content

Commit 4dc9fd5

Browse files
eworm-deAemPi
andcommitted
Always display the emoji with emoji presentation
Some emojis have a text ("⚠︎ SERVICE PROBLEM") and an emoji ("⚠️ SERVICE PROBLEM") representation. Make sure to always use the emoji presentation. https://unicode-table.com/en/FE0F/ Co-authored-by: Markus Pröpper <[email protected]>
1 parent 09789de commit 4dc9fd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

check_mk_telegram-notify.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ case "${STATE}" in
8080
;;
8181
esac
8282

83+
# The emoji should be displayed with emoji presentation
84+
EMOJI+=$'\xEF\xB8\x8F'
8385
# Create a MESSAGE variable to send to your Telegram bot
8486
MESSAGE="${NOTIFY_HOSTNAME} (${NOTIFY_HOSTALIAS})%0A"
8587
MESSAGE+="${EMOJI} ${NOTIFY_WHAT} ${NOTIFY_NOTIFICATIONTYPE}%0A%0A"

0 commit comments

Comments
 (0)