vid

Privateunrated

Content

78 lines



{=(COMMENT):Lowers the first user argument, allowing them to be case insensitive.}
{=(l1):{lower:{1}}}

{=(COMMENT):Blank variable, allowing to return nothing when an else is empty, while being double bracketted.}
{=():}

{=(COMMENT):Every variable starting with av. stands for the available keywords for these commands.}
{=(COMMENT):Every variable starting with em. stands for each command's embed JSON Pastebin link.}
{=(COMMENT):Every variable starting with check. stands for each check of the first argument}

{=(av.embed):embed em emb}
{=(em.embed):https://youtu.be/jUa6YbRC0xU}
{=(check.embed):{contains({l1}):{av.embed}}}

{=(av.lock):lock lockdown}
{=(em.lock):https://www.youtube.com/watch?v=gCIsgzWTlpw}
{=(check.lock):{contains({l1}):{av.lock}}}

{=(av.suggest):suggest suggestion suggestions sug}
{=(em.suggest):https://www.youtube.com/watch?v=v8CfBi6Z0xI&feature=youtu.be}
{=(check.suggest):{contains({l1}):{av.sug}}}

{=(av.verify):verify verification ver}
{=(em.verify):https://www.youtube.com/watch?v=U3D9GZFlaQE}
{=(check.verify):{contains({l1}):{av.verify}}}

{=(av.welcome):welcome join welc}
{=(em.welcome):https://pastebin.com/QJEnU5br}
{=(check.welcome):{contains({l1}):{av.welcome}}}


{=(COMMENT):Each available command's guide name.}
{=(checks.Name):embed lock suggest verify}

{=(COMMENT):Gets the index position of the check that returns "true", to then call its corresponding embed in the command block.}
{=(index.preTrue):{join(,check.):check.{checks.Name}}}
{=(index.list):{{list(0):{index.preTrue}}} {{list(1):{index.preTrue}}} {{list(2):{index.preTrue}}} {{list(3):{index.preTrue}}} {{list(4):{index.preTrue}}}}
{=(index.True):{index(true):{index.list}}}

{=(COMMENT):Pastebin link corresponding to the user argument.}
{=(msg.Link):{em.{list({index.True}):{join(,):{checks.Name} $&}}}}

{=(COMMENT):Puts all the available commands, including their aliases, into lists to then display a list of available keywords to use as guides.}
{=(checks.av1):{join(,av.):av.{checks.Name}}}
{=(checks.av2):{{list(0):{checks.av1}}} {{list(1):{checks.av1}}} {{list(2):{checks.av1}}} {{list(3):{checks.av1}}} {{list(4):{checks.av1}}}}
{=(msg.Keywords):{join(, ):{checks.av2}}}

{=(COMMENT):Error message that is displayed when the user didn't specify any argument along with the command.}

{=(encoded.Keywords):{urlencode(+):{msg.Keywords}}}
{=(replaced.Keywords):{replace(%2C, ):{replace(+,):{encoded.Keywords}}}}

{=(msg.Error):Available video guides keywords:
`{replaced.Keywords}`}

{=(COMMENT):Command execution, that creates the embed corresponding to the requested guide command.}
{{and({args}!=|{contains({l1}):{replaced.Keywords}}==true):msg.Link}}

{=(COMMENT):Error embed.}
{{or({args}==|{contains({l1}):{replaced.Keywords}}==false):c:cembed {channel(id)} {"description":"{msg.Error}","color":2105893}}}

{=(COMMENT):Debug messages to troubleshoot the command and check the value of certain variables.}
{=(msg.Debug):__Debug:__
indexpretrue {index.preTrue}
indexlist {index.list}
indextrue {index.True}

msglink {msg.Link}

checks.av1 {checks.av1}
checks.av2 {checks.av2}

replacedkeywords {replaced.Keywords}
Does it contain a keyword that exists? {contains({l1}):{replaced.Keywords}}
keywords {msg.Keywords}}
Raw JSON
{
  "id": 175217,
  "created_at": "2022-04-26T10:36:02.900Z",
  "tag_name": "vid",
  "nsfw": false,
  "owner_id": "149926720114262016",
  "uses": 5,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "314660900302749696",
  "sharer": "149926720114262016",
  "content": "\n\n\n{=(COMMENT):Lowers the first user argument, allowing them to be case insensitive.}\n{=(l1):{lower:{1}}}\n\n{=(COMMENT):Blank variable, allowing to return nothing when an else is empty, while being double bracketted.}\n{=():}\n\n{=(COMMENT):Every variable starting with av. stands for the available keywords for these commands.}\n{=(COMMENT):Every variable starting with em. stands for each command's embed JSON Pastebin link.}\n{=(COMMENT):Every variable starting with check. stands for each check of the first argument}\n\n{=(av.embed):embed em emb}\n{=(em.embed):https://youtu.be/jUa6YbRC0xU}\n{=(check.embed):{contains({l1}):{av.embed}}}\n\n{=(av.lock):lock lockdown}\n{=(em.lock):https://www.youtube.com/watch?v=gCIsgzWTlpw}\n{=(check.lock):{contains({l1}):{av.lock}}}\n\n{=(av.suggest):suggest suggestion suggestions sug}\n{=(em.suggest):https://www.youtube.com/watch?v=v8CfBi6Z0xI&feature=youtu.be}\n{=(check.suggest):{contains({l1}):{av.sug}}}\n\n{=(av.verify):verify verification ver}\n{=(em.verify):https://www.youtube.com/watch?v=U3D9GZFlaQE}\n{=(check.verify):{contains({l1}):{av.verify}}}\n\n{=(av.welcome):welcome join welc}\n{=(em.welcome):https://pastebin.com/QJEnU5br}\n{=(check.welcome):{contains({l1}):{av.welcome}}}\n\n\n{=(COMMENT):Each available command's guide name.}\n{=(checks.Name):embed lock suggest verify}\n\n{=(COMMENT):Gets the index position of the check that returns \"true\", to then call its corresponding embed in the command block.}\n{=(index.preTrue):{join(,check.):check.{checks.Name}}}\n{=(index.list):{{list(0):{index.preTrue}}} {{list(1):{index.preTrue}}} {{list(2):{index.preTrue}}} {{list(3):{index.preTrue}}} {{list(4):{index.preTrue}}}}\n{=(index.True):{index(true):{index.list}}}\n\n{=(COMMENT):Pastebin link corresponding to the user argument.}\n{=(msg.Link):{em.{list({index.True}):{join(,):{checks.Name} $&}}}}\n\n{=(COMMENT):Puts all the available commands, including their aliases, into lists to then display a list of available keywords to use as guides.}\n{=(checks.av1):{join(,av.):av.{checks.Name}}}\n{=(checks.av2):{{list(0):{checks.av1}}} {{list(1):{checks.av1}}} {{list(2):{checks.av1}}} {{list(3):{checks.av1}}} {{list(4):{checks.av1}}}}\n{=(msg.Keywords):{join(, ):{checks.av2}}}\n\n{=(COMMENT):Error message that is displayed when the user didn't specify any argument along with the command.}\n\n{=(encoded.Keywords):{urlencode(+):{msg.Keywords}}}\n{=(replaced.Keywords):{replace(%2C, ):{replace(+,):{encoded.Keywords}}}}\n\n{=(msg.Error):Available video guides keywords:\n`{replaced.Keywords}`}\n\n{=(COMMENT):Command execution, that creates the embed corresponding to the requested guide command.}\n{{and({args}!=|{contains({l1}):{replaced.Keywords}}==true):msg.Link}}\n\n{=(COMMENT):Error embed.}\n{{or({args}==|{contains({l1}):{replaced.Keywords}}==false):c:cembed {channel(id)} {\"description\":\"{msg.Error}\",\"color\":2105893}}}\n\n{=(COMMENT):Debug messages to troubleshoot the command and check the value of certain variables.}\n{=(msg.Debug):__Debug:__\nindexpretrue {index.preTrue}\nindexlist {index.list}\nindextrue {index.True}\n\nmsglink {msg.Link}\n\nchecks.av1 {checks.av1}\nchecks.av2 {checks.av2}\n\nreplacedkeywords {replaced.Keywords}\nDoes it contain a keyword that exists? {contains({l1}):{replaced.Keywords}}\nkeywords {msg.Keywords}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:23:43.101Z"
}