fix multiline messages only showing last line post refactor
This commit is contained in:
parent
3d401d9751
commit
2d2ba1fd60
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue