fix multiline messages only showing last line post refactor

This commit is contained in:
Cynthia Foxwell 2023-07-18 09:55:03 -06:00
parent 3d401d9751
commit 2d2ba1fd60

View file

@ -317,7 +317,10 @@ func ProcessMessage(session *discordgo.Session, msg *discordgo.Message, options
options.IsPin = msg.Type == discordgo.MessageTypeChannelPinnedMessage
options.IsDump = false
lines = FormatMessage(session, options)
msgLines := FormatMessage(session, options)
for _, line := range msgLines {
lines = append(lines, line)
}
}
} else {
options.Content = content