From 3c4eb5aec752f0d22040cd271189ce1916c47a4f Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 8 Jun 2021 02:29:43 +0800 Subject: [PATCH] telegram: add more emojis --- pkg/notifier/telegramnotifier/interaction.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/notifier/telegramnotifier/interaction.go b/pkg/notifier/telegramnotifier/interaction.go index d408f7c6d..8d3ee5682 100644 --- a/pkg/notifier/telegramnotifier/interaction.go +++ b/pkg/notifier/telegramnotifier/interaction.go @@ -106,7 +106,7 @@ func (it *Interaction) HandleAuth(m *telebot.Message) { it.session.Owner = m.Sender it.session.Chat = m.Chat - if _, err := it.bot.Send(m.Chat, fmt.Sprintf("Hi %s, I know you, I will send you the notifications!", m.Sender.Username)); err != nil { + if _, err := it.bot.Send(m.Chat, fmt.Sprintf("👋 Hi %s, nice to meet you. 🤝 I will send you the notifications!", m.Sender.Username)); err != nil { log.WithError(err).Error("telegram send error") } @@ -122,7 +122,7 @@ func (it *Interaction) HandleAuth(m *telebot.Message) { it.session.Owner = m.Sender it.session.Chat = m.Chat - if _, err := it.bot.Send(m.Chat, fmt.Sprintf("Hi %s, I know you, I will send you the notifications!", m.Sender.Username)); err != nil { + if _, err := it.bot.Send(m.Chat, fmt.Sprintf("👋 Hi %s, nice to meet you. 🤝 I will send you the notifications!", m.Sender.Username)); err != nil { log.WithError(err).Error("telegram send error") }