From 94c9dd3d575a6f93c4adc444bd67681ae669649e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 8 May 2023 19:07:03 +0300 Subject: [PATCH] remove slash --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 0859435..c44ac75 100644 --- a/main.go +++ b/main.go @@ -83,7 +83,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { if result[2] == "https://www.reddit.com" || result[2] == "https://reddit.com"{ s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("", result[4])) } else if result[2] == "https://www.twitter.com" || result[2] == "https://twitter.com" { - s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("", result[4])) + s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("", result[4])) } } }