Discord bot fix
This commit is contained in:
parent
6f08f16374
commit
b9b92beb23
@ -119,11 +119,11 @@ func onMessage(s *discordgo.Session, m *discordgo.MessageCreate) {
|
|||||||
message := ""
|
message := ""
|
||||||
|
|
||||||
for _, user := range userResults {
|
for _, user := range userResults {
|
||||||
message += "https://notify.moe/" + user.Link() + "\n"
|
message += "https://notify.moe" + user.Link() + "\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, anime := range animeResults {
|
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 {
|
if len(userResults) == 0 && len(animeResults) == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user