Discord bot fix

This commit is contained in:
Eduard Urbach 2017-06-21 00:02:26 +02:00
parent 6f08f16374
commit b9b92beb23

View File

@ -119,11 +119,11 @@ func onMessage(s *discordgo.Session, m *discordgo.MessageCreate) {
message := ""
for _, user := range userResults {
message += "https://notify.moe/" + user.Link() + "\n"
message += "https://notify.moe" + user.Link() + "\n"
}
for _, anime := range animeResults {
message += "https://notify.moe/" + anime.Link() + "\n"
message += "https://notify.moe" + anime.Link() + "\n"
}
if len(userResults) == 0 && len(animeResults) == 0 {