Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Commit

Permalink
Fixed small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Strum355 committed Sep 30, 2017
1 parent 312eca3 commit 4191d89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ func parseCommand(s *discordgo.Session, m *discordgo.MessageCreate, message stri
return msglist[0]
}()

if command == "emoji" {
return
}

if command == l(commMap[command].Name) {
commMap[command].Exec(s, m, msglist[1:])
return
Expand Down
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ func main() {
fmt.Println(err)
errorLog.Fatalln(err)
}
}
}

fmt.Println("Prefix is "+conf.Prefix)
infoLog.Println("Prefix is "+conf.Prefix)

if dg == nil {
if err = testLogin(); err != nil {
Expand Down

0 comments on commit 4191d89

Please sign in to comment.