{"url":"https://docs.carl.gg/tags-and-triggers/tags-advanced-usage/#text-replacement-blocks","fields":[{"name":"Example - URL Encode Blocks","value":"> • {urlencode:Hey there, how are you?} returns\n> `Hey%20there,%20how%20are%20you%3F`\n> • {urlencode(+):Hey there, how are you?} returns\n> `Hey+there,+how+are+you%3F`\n> • https\\://www.google.com/search?q={urlencode(+):Carl-bot's dashboard} results in [this Google Search Results link](https://www.google.com/search?q=Carl-bot%27s+dashboard)","inline":false}],"title":"URL Encode Blocks Documentation","description":"The urlencode block encodes the payload into [Percent-encoding](https://en.wikipedia.org/wiki/Percent-encoding) so it can be included in a URL and understood by the browser of the user that clicked the link. These blocks only function in Tags.\n\n> __**URL Encode Blocks**__\n> • {urlencode:payload}⠀\n> Encodes the payload into percent-encoding.\n> • {urlencode(+):payload}⠀\n> Encodes the payload into percent-encoding, but replaces spaces with `+` instead of `%20`\n\n`+` is the only valid parameter for the urlencode block.","color":3092790}