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

@ -8,7 +8,7 @@ import (
// Play changes the status of the bot.
func Play(s *discordgo.Session, msg *discordgo.MessageCreate) bool {
if strings.HasPrefix(msg.Content, "!play ") {
if !strings.HasPrefix(msg.Content, "!play ") {
return false
}