ytdl

YouTube Downloader! Simply use the command along with any valid YouTube video link to get a link to direct download the video in MP3 format. Allows for both full and shortened links to videos in playlists. You can change the file format you want to download directly on the link's page. Available formats to download: MP3, MP4, M4A The website even allows you to cut the audio to only download the part you want. The command handles errors by displaying corresponding error messages depending on the situation. Displays an error message when the link is invalid, and shows instructions when the user didn't input any video link. I advise you to click on "Trust this Domain" after clicking on the hyperlink, so the popup doesn't appear every time you use the command. I hope this command will be useful for some of you. Enjoy! Usage example: https://i.imgur.com/B6qwQLF.png

Sharedunrated

Content

32 lines
{=(COMMENT):Full Link No Playlist VidID}
{=(fl):{and({in(watch?v=):{1}}==true|{in(&list):{1}}==false):{args(2):watch?v=}}}

{=(COMMENT):Full Link Playlist VidID}
{=(flc):{if({in(watch?v=):{1}}==true):{args(2):watch?v=}}}
{=(fll):{and({in(&list):{flc}}==true|{in(&list):{1}}==true):{flc(1):&list}}}

{=(COMMENT):Short Link No Playlist VidID}
{=(sl):{and({in(youtu.be):{1}}==true|{in(?list):{1}}==false):{args(-0):/}}}

{=(COMMENT):Short Link Playlist VidID}
{=(slc):{if({in(youtu.be):{1}}==true):{args(-0):/}}}
{=(sll):{and({in(?list):{slc}}==true|{in(?list):{1}}==true):{slc(1):?list}}}

{=(COMMENT):Conditionally grabs the corresponding video ID.}
{=(vidid):{fl}{fll}{sl}{sll}}

{=(COMMENT):Checks for invalid links and displays an error message without a DL Link.}
{=(error):{if({vidid}==):true|false}}
{=(errorm):Invalid YouTube Video Link provided. Try again with a Valid Link.}

{=(COMMENT):Message to display when the user provided no argument.}
{=(noargs):Please specify a YouTube video link along with the command.
Allows for both full and shortened links to videos in playlists.
You can change the format of the file to download directly on the link provided by this command. (MP3, MP4, M4A)}

{=(COMMENT):URL used for the Hyperlink.}
{=(url):https://www.y2mate.com/youtube-mp3/{vidid}}

{=(COMMENT):Hyperlink Format. Clickable Link within the Embed.}
{=(fmt):[Download MP3 from YouTube Link]({url} "Change the file format in the link's page if needed.")}
{=(hyperlink):{if({error}==false):{fmt}|{errorm}}}

Embed

1 line
{"color": 16711680, "title": "<:youtube:637507344443637764> YouTube Downloader", "footer": {"text": "Command made by Asty'"}, "description": "{break({args}==):{noargs}}\n{hyperlink}"}
Raw JSON
{
  "id": 125924,
  "created_at": "2020-02-28T12:25:23.000Z",
  "tag_name": "ytdl",
  "nsfw": false,
  "owner_id": "149926720114262016",
  "uses": 45,
  "description": " YouTube Downloader!\n\nSimply use the command along with any valid YouTube video link to get a link to direct download the video in MP3 format.\nAllows for both full and shortened links to videos in playlists.\n\nYou can change the file format you want to download directly on the link's page.\nAvailable formats to download: MP3, MP4, M4A\nThe website even allows you to cut the audio to only download the part you want.\n\nThe command handles errors by displaying corresponding error messages depending on the situation. Displays an error message when the link is invalid, and shows instructions when the user didn't input any video link.\n\nI advise you to click on \"Trust this Domain\" after clicking on the hyperlink, so the popup doesn't appear every time you use the command.\nI hope this command will be useful for some of you. Enjoy!\n\nUsage example: https://i.imgur.com/B6qwQLF.png",
  "restricted": false,
  "shared": true,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "314660900302749696",
  "sharer": "149926720114262016",
  "content": "{=(COMMENT):Full Link No Playlist VidID}\n{=(fl):{and({in(watch?v=):{1}}==true|{in(&list):{1}}==false):{args(2):watch?v=}}}\n\n{=(COMMENT):Full Link Playlist VidID}\n{=(flc):{if({in(watch?v=):{1}}==true):{args(2):watch?v=}}}\n{=(fll):{and({in(&list):{flc}}==true|{in(&list):{1}}==true):{flc(1):&list}}}\n\n{=(COMMENT):Short Link No Playlist VidID}\n{=(sl):{and({in(youtu.be):{1}}==true|{in(?list):{1}}==false):{args(-0):/}}}\n\n{=(COMMENT):Short Link Playlist VidID}\n{=(slc):{if({in(youtu.be):{1}}==true):{args(-0):/}}}\n{=(sll):{and({in(?list):{slc}}==true|{in(?list):{1}}==true):{slc(1):?list}}}\n\n{=(COMMENT):Conditionally grabs the corresponding video ID.}\n{=(vidid):{fl}{fll}{sl}{sll}}\n\n{=(COMMENT):Checks for invalid links and displays an error message without a DL Link.}\n{=(error):{if({vidid}==):true|false}}\n{=(errorm):Invalid YouTube Video Link provided. Try again with a Valid Link.}\n\n{=(COMMENT):Message to display when the user provided no argument.}\n{=(noargs):Please specify a YouTube video link along with the command.\nAllows for both full and shortened links to videos in playlists.\nYou can change the format of the file to download directly on the link provided by this command. (MP3, MP4, M4A)}\n\n{=(COMMENT):URL used for the Hyperlink.}\n{=(url):https://www.y2mate.com/youtube-mp3/{vidid}}\n\n{=(COMMENT):Hyperlink Format. Clickable Link within the Embed.}\n{=(fmt):[Download MP3 from YouTube Link]({url} \"Change the file format in the link's page if needed.\")}\n{=(hyperlink):{if({error}==false):{fmt}|{errorm}}}",
  "embed": "{\"color\": 16711680, \"title\": \"<:youtube:637507344443637764> YouTube Downloader\", \"footer\": {\"text\": \"Command made by Asty'\"}, \"description\": \"{break({args}==):{noargs}}\\n{hyperlink}\"}",
  "last_fetched": "2026-10-20T21:00:40.388Z"
}