Fixed command invocation

This commit is contained in:
2018-07-11 01:04:58 +09:00
parent 009449316e
commit a48e1c8db1
6 changed files with 35 additions and 9 deletions

@ -8,7 +8,7 @@ import (
// AnimeList shows the link for the anime list of a user.
func AnimeList(s *discordgo.Session, msg *discordgo.MessageCreate) bool {
if strings.HasPrefix(msg.Content, "!animelist ") {
if !strings.HasPrefix(msg.Content, "!animelist ") {
return false
}