telegram: add more emojis

This commit is contained in:
c9s 2021-06-08 02:29:43 +08:00
parent 89c3df730b
commit 3c4eb5aec7

View File

@ -106,7 +106,7 @@ func (it *Interaction) HandleAuth(m *telebot.Message) {
it.session.Owner = m.Sender it.session.Owner = m.Sender
it.session.Chat = m.Chat 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") 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.Owner = m.Sender
it.session.Chat = m.Chat 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") log.WithError(err).Error("telegram send error")
} }