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

Commit 4191d89

Browse files
committed
Fixed small bug
1 parent 312eca3 commit 4191d89

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

commands.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ func parseCommand(s *discordgo.Session, m *discordgo.MessageCreate, message stri
6565
return msglist[0]
6666
}()
6767

68+
if command == "emoji" {
69+
return
70+
}
71+
6872
if command == l(commMap[command].Name) {
6973
commMap[command].Exec(s, m, msglist[1:])
7074
return

main.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ func main() {
161161
fmt.Println(err)
162162
errorLog.Fatalln(err)
163163
}
164-
}
164+
}
165+
166+
fmt.Println("Prefix is "+conf.Prefix)
167+
infoLog.Println("Prefix is "+conf.Prefix)
165168

166169
if dg == nil {
167170
if err = testLogin(); err != nil {

0 commit comments

Comments
 (0)