Removed unneeded test command
Testing is instead specified as a command line argument
This commit is contained in:
parent
098c12dfda
commit
41587d8e23
|
@ -152,13 +152,6 @@ func parseCommand(user *gumble.User, username, command string) {
|
|||
} else {
|
||||
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
||||
}
|
||||
// Test command (WORKAROUND)
|
||||
case "test":
|
||||
if dj.HasPermission(username, dj.conf.Permissions.AdminKill) {
|
||||
test.testYoutubeSong()
|
||||
} else {
|
||||
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
||||
}
|
||||
default:
|
||||
dj.SendPrivateMessage(user, COMMAND_DOESNT_EXIST_MSG)
|
||||
}
|
||||
|
|
Reference in a new issue