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

View File

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