urlq

Privateunrated

Content

51 lines
{delete}

{=(prefix):!}
{=(tagname):urlq}

{=(a1):{args(+1)}}

{=(a2):{args(2+)}}

{=(suffix):#:~:text=}

{=(query):{urlencode:{a2}}}

{=(isArgs):{if(!={a1}):true|false}}

{=(isURL):{in(http):{a1(1):://}}}

{=(isQuery):{if(!={a2}):true|false}}

{=(fullLink):{a1}{suffix}{query}}

{=(DNS):{a1(3):/}}

{=(hyperlink):[**`{DNS}`**
`{a2}`]({fullLink})}

{=(example):**Example**```css
{prefix}{tagname} https://docs.carl.gg/ reaction roles
```}

{=(msg.noargs):This command allows you to generate a clickable hyperlink that highlights the specified text on the page and focuses on it.

It doesn't use any third-party thing but rather a native behavior of URLs and browsers, by adding the suffix `{suffix}` after the URL, as well as the URL-encoded version of a specified text.

{example}}
{=(msg.notext):Please specify some text that you want to be highlighted along with the URL you provided.

{example}}

{=(msg.wrongurl):The URL you specified is not valid. Make sure it starts with either `http://` or `https://` and try again.

{example}}

{=(isSuccess):{and({isArgs}==true|{isURL}==true|{isQuery}==true):true|false}}

{=(embed.title):Highlighted Text on Web Page}
{=(embed.description):{if({isSuccess}==true):{hyperlink}|{if({isArgs}==false):{msg.noargs}|{if({isURL}==false):{msg.wrongurl}|{if({isQuery}==false):{msg.notext}}}}}}
{=(embed.footer):{prefix}{tagname} [url] [text to highlight]}
{=(embed.color):#FFFF00}
{embed(color):#{replace(#,):{embed.color}}}

Embed

1 line
{"color": 5198940, "title": "{embed.title}", "footer": {"text": "{embed.footer}"}, "description": "{embed.description}"}
Raw JSON
{
  "id": 536302,
  "created_at": "2021-01-15T12:00:45.000Z",
  "tag_name": "urlq",
  "nsfw": false,
  "owner_id": "149926720114262016",
  "uses": 16,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "728777576348254258",
  "sharer": "149926720114262016",
  "content": "{delete}\n\n{=(prefix):!}\n{=(tagname):urlq}\n\n{=(a1):{args(+1)}}\n\n{=(a2):{args(2+)}}\n\n{=(suffix):#:~:text=}\n\n{=(query):{urlencode:{a2}}}\n\n{=(isArgs):{if(!={a1}):true|false}}\n\n{=(isURL):{in(http):{a1(1):://}}}\n\n{=(isQuery):{if(!={a2}):true|false}}\n\n{=(fullLink):{a1}{suffix}{query}}\n\n{=(DNS):{a1(3):/}}\n\n{=(hyperlink):[**`{DNS}`**\n`{a2}`]({fullLink})}\n\n{=(example):**Example**```css\n{prefix}{tagname} https://docs.carl.gg/ reaction roles\n```}\n\n{=(msg.noargs):This command allows you to generate a clickable hyperlink that highlights the specified text on the page and focuses on it.\n\nIt doesn't use any third-party thing but rather a native behavior of URLs and browsers, by adding the suffix `{suffix}` after the URL, as well as the URL-encoded version of a specified text.\n\n{example}}\n{=(msg.notext):Please specify some text that you want to be highlighted along with the URL you provided.\n\n{example}}\n\n{=(msg.wrongurl):The URL you specified is not valid. Make sure it starts with either `http://` or `https://` and try again.\n\n{example}}\n\n{=(isSuccess):{and({isArgs}==true|{isURL}==true|{isQuery}==true):true|false}}\n\n{=(embed.title):Highlighted Text on Web Page}\n{=(embed.description):{if({isSuccess}==true):{hyperlink}|{if({isArgs}==false):{msg.noargs}|{if({isURL}==false):{msg.wrongurl}|{if({isQuery}==false):{msg.notext}}}}}}\n{=(embed.footer):{prefix}{tagname} [url] [text to highlight]}\n{=(embed.color):#FFFF00}\n{embed(color):#{replace(#,):{embed.color}}}\n",
  "embed": "{\"color\": 5198940, \"title\": \"{embed.title}\", \"footer\": {\"text\": \"{embed.footer}\"}, \"description\": \"{embed.description}\"}",
  "last_fetched": "2026-10-20T23:48:40.359Z"
}