Skip to content

Commit c2d715d

Browse files
authored
Merge pull request #10 from eworm-de/emoji
Always display the emoji with emoji presentation
2 parents 09789de + 4dc9fd5 commit c2d715d

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)