diff --git a/modules/playMusic/main.rb b/modules/playMusic/main.rb index dadff0d..939696c 100644 --- a/modules/playMusic/main.rb +++ b/modules/playMusic/main.rb @@ -21,7 +21,7 @@ def playMusic(bot, bang) elsif arguments.include? "youtu" actuallyPlayMusic(bot, event, arguments, voice_channel, server) else - actuallyPlayMusic(bot, event, arguments, voice_channel, server) + event.respond "Invalid youtube link!" end end bot.message(with_text: "#{bang}Play") do |event|