|
|
@ -21,7 +21,7 @@ def playMusic(bot, bang)
|
|
|
|
elsif arguments.include? "youtu"
|
|
|
|
elsif arguments.include? "youtu"
|
|
|
|
actuallyPlayMusic(bot, event, arguments, voice_channel, server)
|
|
|
|
actuallyPlayMusic(bot, event, arguments, voice_channel, server)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
event.respond "Invalid youtube link!"
|
|
|
|
actuallyPlayMusic(bot, event, arguments, voice_channel, server)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
bot.message(with_text: "#{bang}Play") do |event|
|
|
|
|
bot.message(with_text: "#{bang}Play") do |event|
|
|
|
|