mirror of
https://github.com/diamondburned/cchat-discord.git
synced 2024-11-24 15:12:53 +00:00
fixed weird message reference
This commit is contained in:
parent
8edbbcc249
commit
4fefdf1b93
|
@ -288,7 +288,7 @@ func newRegularContent(m discord.Message, s *state.Instance) Message {
|
|||
segments.ParseWithMessageRich(&content, refContent, &m, s.Cabinet)
|
||||
|
||||
content = segments.Ellipsize(content, 100)
|
||||
content.Content += ">" + content.Content + "\n"
|
||||
content.Content = ">" + content.Content + "\n"
|
||||
|
||||
segutil.Add(&content,
|
||||
reference.NewMessageSegment(0, len(content.Content)-1, m.ReferencedMessage.ID),
|
||||
|
|
Loading…
Reference in a new issue