Compare commits
No commits in common. "feacda166a89ad3fec2e2ac2b2fc6d3ca5f1f220" and "cd46c4944f5ee2b6eff8da21f2c2f0d22d758999" have entirely different histories.
feacda166a
...
cd46c4944f
2
main.go
2
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"{
|
if result[2] == "https://www.reddit.com" || result[2] == "https://reddit.com"{
|
||||||
s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("<https://tedd.it%s>", result[4]))
|
s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("<https://tedd.it%s>", result[4]))
|
||||||
} else if result[2] == "https://www.twitter.com" || result[2] == "https://twitter.com" {
|
} else if result[2] == "https://www.twitter.com" || result[2] == "https://twitter.com" {
|
||||||
s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("<https://nitter.lacontrevoie.fr%s>", result[4]))
|
s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("<https://nitter.it%s>", result[4]))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user