somewhat fix history, fix multiline replies

This commit is contained in:
Cynthia Foxwell 2023-08-18 00:06:58 -06:00
parent 41d3a6608f
commit 1e45d360b4
2 changed files with 13 additions and 5 deletions

View file

@ -495,6 +495,8 @@ func ProcessMessage(msg discord.Message, options MessageOptions) []string {
options.Stickers = msg.Stickers
if i == 0 {
options.Reply = msg.ReferencedMessage
} else {
options.Reply = nil
}
options.Timestamp = time.Time(msg.Timestamp)
options.IsMention = isPing