v5.0.0
$uri
Decodes or Encodes an URL.
This function decodes or encodes an URL.
Raw usage: $uri[encode/decode;text]

Example usage to encode:

The following example returns Hello%20ElTuna%230001!%20(this%20is%20a%20test)
1
bot.command({
2
name: "encode",
3
code: `
4
$uri[encode;Hello ElTuna#0001! (this is a test)]
5
`})
Copied!

Example usage to decode:

The following example returns Hello ElTuna#0001! (this is a test)
1
bot.command({
2
name: "decode",
3
code: `
4
$uri[decode;Hello%20ElTuna%230001!%20(this%20is%20a%20test)]
5
`})
Copied!
You find a full list of encode characters here.
Last modified 1mo ago