diff --git a/discord.go b/discord.go index cfd42a34bee88389e537590cdf64f444eafaf2b5..cf1a8cbd86259bcc292fde184721cc47ca357be5 100644 --- a/discord.go +++ b/discord.go @@ -152,6 +152,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 {