|
|
@ -66,7 +66,9 @@ func populateChat() { |
|
|
|
} |
|
|
|
} |
|
|
|
var printMe []string |
|
|
|
var printMe []string |
|
|
|
var actuallyPrintMe string |
|
|
|
var actuallyPrintMe string |
|
|
|
|
|
|
|
if len(api.Result.Messages) > 0 { |
|
|
|
lastMessage.ID = api.Result.Messages[0].Msg.ID |
|
|
|
lastMessage.ID = api.Result.Messages[0].Msg.ID |
|
|
|
|
|
|
|
} |
|
|
|
for _, message := range api.Result.Messages { |
|
|
|
for _, message := range api.Result.Messages { |
|
|
|
if message.Msg.Content.Type == "text" { |
|
|
|
if message.Msg.Content.Type == "text" { |
|
|
|
if lastMessage.ID < 1 { |
|
|
|
if lastMessage.ID < 1 { |
|
|
|