ytdl

Privateunrated

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": 364463,
  "created_at": "2020-10-08T04:15:58.000Z",
  "tag_name": "ytdl",
  "nsfw": false,
  "owner_id": "662898453764112408",
  "uses": 2,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "758220868848582656",
  "sharer": "662898453764112408",
  "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-20T22:41:45.221Z"
}