mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
broadcast should also send message to owner
This commit is contained in:
parent
fc81f7b6cb
commit
032b62e4e1
|
@ -114,6 +114,8 @@ func (it *Interaction) HandleInfo(m *telebot.Message) {
|
|||
}
|
||||
|
||||
func (it *Interaction) Broadcast(message string) {
|
||||
it.SendToOwner(message)
|
||||
|
||||
for chatID := range it.session.Chats {
|
||||
chat, err := it.bot.ChatByID(strconv.FormatInt(chatID, 10))
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user