diff --git a/discord.go b/discord.go index cf1a8cbd86259bcc292fde184721cc47ca357be5..5d4337c938e62c0ed800aa754092d24edf4738e6 100644 --- a/discord.go +++ b/discord.go @@ -153,6 +153,7 @@ func discordHandleCreate(session *discordgo.Session, create *discordgo.MessageCr msg.Text = strings.ReplaceAll(msg.Text, "[", "\\[") msg.Text = strings.ReplaceAll(msg.Text, "`", "\\`") msg.Text = strings.ReplaceAll(msg.Text, ".", "\\.") + msg.Text = strings.ReplaceAll(msg.Text, "!", "\\!") msg.Text = discordMakeHeader(create.Author) + msg.Text if m, err := botAPI.Send(msg); err != nil {