turtlefact
Privateunrated
Content
50 lines{=(COMMENT):**This is the amount of facts you have set. It will be used in choosing a random number and in the error message**}
{=(count):7}
{=(COMMENT):**Do not edit the section below**}
{=(COMMENT):**Choose a random number if there's no argument, otherwise use that argument**}
{=(num):{if(=={args(1)}):{range:1-{count}}|{args(1)}}}
{=(COMMENT):**Defining some variables for error handling later**}
{=(nd):{num}.description}
{=(ni):{num}.image}
{=({nd}):error}
{=(COMMENT):**Do not edit the section above**}
{=(COMMENT):**This error message will be sent if an invalid arument is used. {num} will be the input and {count} will be the total tags defined.**}
{=(err):`{num}` is not a valid number. Please specify a number from `1` to `{count}`, or leave blank to get a random fact.}
{=(COMMENT):**Here are your responses. Each response needs a description and image, even if the field is empty. You can repeat this as many times as you'd like**}
{=(1.description):Turtles date back to over 200 million years ago.}
{=(1.image):https://i.imgur.com/n7CBrKO.jpg}
{=(2.description):Sea turtles can breathe underwater for up to 5 hours. They do this by slowing their heart rate to 9 minutes in between each beat.}
{=(2.image):}
{=(3.description):The largest turtle, the leatherback sea turtle, can weigh up to 2000 lbs (900 kg)}
{=(3.image):https://i.imgur.com/moF0USl.png}
{=(4.description):The leatherback sea turtle can weigh as much as 2000 lbs (900 kg)}
{=(4.image):}
{=(5.description):The leatherback sea turtle can swim as fast as 22mph (35 km/h)}
{=(5.image):https://i.imgur.com/mY6c4XM.jpg}
{=(6.description):Turtles can use the earth's magnetic field to navigate themselves, like a compass.}
{=(6.image):}
{=(7.description):<@235148962103951360>'s logo is the turtle emoji from Android 7.0.}
{=(7.image):https://i.imgur.com/IpGmigO.png}
{=(COMMENT):**Do not edit below this line unless you know what you are doing.**}
{=():}
{=(COMMENT):**Check if the input is a defined answer, and store a variable to reference that.**}
{=(valid):{if({{nd}}==error):false|true}}
{=(COMMENT):**Set the embed color based on if it's valid**}
{embed(color):#{if({valid}==true):7ED321|D0021B}}
{=(COMMENT):**Set variables for each field based on input, or an error message if not.**}
{=(title):{if({valid}==true):Turtle fact #{num}|⚠️ Error ⚠️}}
{=(description):{if({valid}==true):{{nd}}|{err}}}
{=(image):{if({valid}==true):{{ni}}}}Embed
1 line{"color": 5198940, "image": {"url": "{image}"}, "title": "{title}", "description": "{description}"}Raw JSON
{
"id": 570917,
"created_at": "2021-01-31T01:07:29.000Z",
"tag_name": "turtlefact",
"nsfw": false,
"owner_id": "271385622873243650",
"uses": 1,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "738803913364340747",
"sharer": "271385622873243650",
"content": "{=(COMMENT):**This is the amount of facts you have set. It will be used in choosing a random number and in the error message**}\n{=(count):7}\n\n{=(COMMENT):**Do not edit the section below**}\n{=(COMMENT):**Choose a random number if there's no argument, otherwise use that argument**}\n{=(num):{if(=={args(1)}):{range:1-{count}}|{args(1)}}}\n{=(COMMENT):**Defining some variables for error handling later**}\n{=(nd):{num}.description}\n{=(ni):{num}.image}\n{=({nd}):error}\n{=(COMMENT):**Do not edit the section above**}\n\n{=(COMMENT):**This error message will be sent if an invalid arument is used. {num} will be the input and {count} will be the total tags defined.**}\n{=(err):`{num}` is not a valid number. Please specify a number from `1` to `{count}`, or leave blank to get a random fact.}\n\n{=(COMMENT):**Here are your responses. Each response needs a description and image, even if the field is empty. You can repeat this as many times as you'd like**}\n{=(1.description):Turtles date back to over 200 million years ago.}\n{=(1.image):https://i.imgur.com/n7CBrKO.jpg}\n\n{=(2.description):Sea turtles can breathe underwater for up to 5 hours. They do this by slowing their heart rate to 9 minutes in between each beat.}\n{=(2.image):}\n\n{=(3.description):The largest turtle, the leatherback sea turtle, can weigh up to 2000 lbs (900 kg)}\n{=(3.image):https://i.imgur.com/moF0USl.png}\n\n{=(4.description):The leatherback sea turtle can weigh as much as 2000 lbs (900 kg)}\n{=(4.image):}\n\n{=(5.description):The leatherback sea turtle can swim as fast as 22mph (35 km/h)}\n{=(5.image):https://i.imgur.com/mY6c4XM.jpg}\n\n{=(6.description):Turtles can use the earth's magnetic field to navigate themselves, like a compass.}\n{=(6.image):}\n\n{=(7.description):<@235148962103951360>'s logo is the turtle emoji from Android 7.0.}\n{=(7.image):https://i.imgur.com/IpGmigO.png}\n\n{=(COMMENT):**Do not edit below this line unless you know what you are doing.**}\n{=():}\n\n{=(COMMENT):**Check if the input is a defined answer, and store a variable to reference that.**}\n{=(valid):{if({{nd}}==error):false|true}}\n\n{=(COMMENT):**Set the embed color based on if it's valid**}\n{embed(color):#{if({valid}==true):7ED321|D0021B}}\n\n{=(COMMENT):**Set variables for each field based on input, or an error message if not.**}\n{=(title):{if({valid}==true):Turtle fact #{num}|⚠️ Error ⚠️}}\n{=(description):{if({valid}==true):{{nd}}|{err}}}\n{=(image):{if({valid}==true):{{ni}}}}",
"embed": "{\"color\": 5198940, \"image\": {\"url\": \"{image}\"}, \"title\": \"{title}\", \"description\": \"{description}\"}",
"last_fetched": "2026-10-21T00:02:06.404Z"
}