From 4191d895286ac7919416fa5719ccc32a6efeac30 Mon Sep 17 00:00:00 2001 From: "Noah Santschi-Cooney (Go Go Gopher!)" Date: Sat, 30 Sep 2017 18:56:35 +0100 Subject: [PATCH] Fixed small bug --- commands.go | 4 ++++ main.go | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 0a5dae6..fed8eaf 100644 --- a/commands.go +++ b/commands.go @@ -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 diff --git a/main.go b/main.go index 4417e68..54606b2 100644 --- a/main.go +++ b/main.go @@ -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 {