Fixed get_length() call
This commit is contained in:
parent
a0d5f92b6d
commit
5360b64fe0
|
@ -49,7 +49,7 @@ function parse_command(message)
|
||||||
if config.OUTPUT then
|
if config.OUTPUT then
|
||||||
print(message.user.name .. " has told the bot to start playing music.")
|
print(message.user.name .. " has told the bot to start playing music.")
|
||||||
end
|
end
|
||||||
if song_queue.getLength() == 0 then
|
if song_queue.get_length() == 0 then
|
||||||
message.user:send(config.NO_SONGS_AVAILABLE)
|
message.user:send(config.NO_SONGS_AVAILABLE)
|
||||||
else
|
else
|
||||||
if piepan.Audio.isPlaying() then
|
if piepan.Audio.isPlaying() then
|
||||||
|
|
Reference in a new issue