Skip to content

Commit

Permalink
Update notifier with response chatID
Browse files Browse the repository at this point in the history
  • Loading branch information
heyphat committed Jan 24, 2022
1 parent b6ea56a commit dbba0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/market/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (n *notifier) await() {
continue
}
go n.addChatIDs([]int64{update.Message.Chat.ID})
msg := tele.NewMessage(update.Message.Chat.ID, "You're all set.")
msg := tele.NewMessage(update.Message.Chat.ID, fmt.Sprintf("You're all set. Your chatID is %d.", update.Message.Chat.ID))
msg.ReplyToMessageID = update.Message.MessageID
n.bot.Send(msg)
}
Expand Down

0 comments on commit dbba0a0

Please sign in to comment.