diff --git a/discord.go b/discord.go index 009662bc19d0243e903fbcff08f9608eb337c201..95f530f2afe770eb25c12e88d83b86e871014e70 100644 --- a/discord.go +++ b/discord.go @@ -158,6 +158,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 = strings.ReplaceAll(msg.Text, "`", "\\`") msg.Text = strings.ReplaceAll(msg.Text, ".", "\\.") msg.Text = strings.ReplaceAll(msg.Text, "!", "\\!")