Removed start command. It wasn't really needed

pull/18/head
Matthieu Grieger 2014-09-15 11:43:59 -07:00
parent d90f9caab9
commit 467a491c7c
2 changed files with 1 additions and 11 deletions

View File

@ -50,10 +50,6 @@ config.ENABLE_ADMINS = true
-- config.ADMINS = {"Matt", "Matthieu"}
config.ADMINS = {}
-- Make start an admin command?
-- DEFAULT VALUE: false
config.ADMIN_START = false
-- Make play an admin command?
-- DEFAULT VALUE: false
config.ADMIN_PLAY = false

View File

@ -33,9 +33,7 @@ function parseCommand(message)
command = string.sub(message.text, 2)
end
if command == "start" then
print(message.user.name .. " has told the bot to start.")
elseif command == "play" then
if command == "play" then
print(message.user.name .. " has told the bot to start playing music.")
elseif command == "pause" then
print(message.user.name .. " has told the bot to pause music playback.")
@ -56,10 +54,6 @@ function parseCommand(message)
end
end
function start()
return
end
function play()
return
end