Updated animelist command

This commit is contained in:
Eduard Urbach 2018-07-02 16:24:04 +09:00
parent 8d3b0036d0
commit 5c4ce36025

View File

@ -54,7 +54,7 @@ func OnMessageCreate(s *discordgo.Session, msg *discordgo.MessageCreate) {
// Anime list of user // Anime list of user
if strings.HasPrefix(msg.Content, "!animelist ") { if strings.HasPrefix(msg.Content, "!animelist ") {
s.ChannelMessageSend(msg.ChannelID, "https://notify.moe/+"+strings.Split(msg.Content, " ")[1]+"/animelist") s.ChannelMessageSend(msg.ChannelID, "https://notify.moe/+"+strings.Split(msg.Content, " ")[1]+"/animelist/watching")
return return
} }