Removed unneeded test command

Testing is instead specified as a command line argument
This commit is contained in:
MichaelOultram 2015-08-15 19:40:21 +01:00
parent 098c12dfda
commit 41587d8e23

View file

@ -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)
}