diff options
Diffstat (limited to 'bridge/discord')
-rw-r--r-- | bridge/discord/discord.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 1c2e8ca4..cd3db76d 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -272,7 +272,8 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) { // Handle prefix hint for unthreaded messages. if msg.ParentNotFound() { msg.ParentID = "" - msg.Text = fmt.Sprintf("[thread]: %s", msg.Text) + msg.Text = strings.TrimPrefix(msg.Text, "\n") + msg.Text = fmt.Sprintf("> %s %s", msg.Username, msg.Text) } // Use webhook to send the message |