From 41587d8e2340a0e6bff86989afdc0185ac55d0d4 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Sat, 15 Aug 2015 19:40:21 +0100 Subject: [PATCH] Removed unneeded test command Testing is instead specified as a command line argument --- commands.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/commands.go b/commands.go index 5c52bb0..ee449e2 100644 --- a/commands.go +++ b/commands.go @@ -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) }