Hi! A lot of discord bots are having this command, so I do not think it is illegal ).Personally, I would double check first that I am not violating the terms of use of both YouTube and Discord by playing the audio from YouTube directly into Discord.
Permissions and Restrictions
You may access and use the Service as made available to you, as long as you comply with this Agreement and applicable law. You may view or listen to Content for your personal, non-commercial use. You may also show YouTube videos through the embeddable YouTube player.
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as expressly authorized by the Service; or (b) with prior written permission from YouTube and, if applicable, the respective rights holders;
:
3. access the Service using any automated means (such as robots, botnets or scrapers) except (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; or (b) with YouTube’s prior written permission;
:
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service); ...
WOW!A lot of people were also using Napster and we know that was not legal...
Update: From YouTube's Terms of Service:
Discord themselves would encourage using bots because they are highly effective on large servers with large amounts of users.Personally, I would double check first that I am not violating the terms of use of both YouTube and Discord by playing the audio from YouTube directly into Discord.
He just wants to get the audio track and broadcast the audio into Discord.play music directly from youtube through a link
Do you think I'm blind?If the later is what you are doing, then you are breaching youtubes terms of service. If it's the prior, there is no breach of tos on either side. Note that it is required to have a license to stream commercial/copyright music on the net.
@OP - Each country has regulations against unlicensed streaming. It's a grey area and you can get into trouble for it in most countries. The only reason I know this is because I run a streaming radio station myself and it's no different to what you want to do. The reason discord don't care, is because they haven't been hit by a regulator yet, and also because they are not doing the streaming. You are.Discord supports both text and voice channels, and with a music bot, you can have a bot join a voice channel and stream music live from YouTube, SoundCloud, and plenty of other sources.