Removed start command. It wasn't really needed
This commit is contained in:
parent
d90f9caab9
commit
467a491c7c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue