duckfact
Privateunrated
Content
59 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):10}
{=(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):A male duck is called a drake, a female duck a hen, and a baby duck a duckling.}
{=(1.image):https://i.imgur.com/78gITmV.gif}
{=(2.description):Most ducks quack, however, the wood duck squeals.}
{=(2.image):https://i.imgur.com/5iK85wF.jpg}
{=(3.description):Ducklings are able to fly within 5-8 weeks.}
{=(3.image):https://i.imgur.com/8fu0v5a.gif}
{=(4.description):Did you know that “city ducks” have been found to have a different accent from country ducks? Researchers in the UK found the city ducks have a louder “QUACK!” compared to country ducks!}
{=(4.image):}
{=(5.description):Ducks can change genders – Gender change in ducks is rare, but happens as often as 1 in every 10,000 birds and can happen both from female to male and male to female, although female to male seems much more common. }
{=(5.image):}
{=(6.description):The fastest duck ever recorded was a red-breasted merganser that attained a top airspeed of 100 mph while being pursued by an airplane.}
{=(6.image):https://i.imgur.com/CCkMIFr.gif}
{=(7.description):DUCKS CAN CLOSE ONE EYE AND PUT HALF THEIR BRAIN TO SLEEP.}
{=(7.image):https://i.imgur.com/qGWwLHm.jpg}
{=(8.description):Ducks feet has no nerves or blood vessels, meaning that their feet do not feel the cold! This enables ducks to swim in icy water, and walk in ice and snow.}
{=(8.image):https://i.imgur.com/i1YdBge.gif}
{=(9.description):Indian Runners are the domestic ducks. They stand erect like penguins and, rather than waddling, they run.}
{=(9.image):https://i.imgur.com/PotB3at.gif}
{=(10.description):Ducks have three eyelids. The top and bottom as well as a third that is found on the side of the eye. It is clear and acts much like goggles.}
{=(10.image):https://i.imgur.com/yT0xuOS.gif}
{=(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):Duck 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": 531489,
"created_at": "2021-01-13T06:54:46.000Z",
"tag_name": "duckfact",
"nsfw": false,
"owner_id": "346836785319510036",
"uses": 8,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "782340632400101426",
"sharer": "346836785319510036",
"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):10}\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):A male duck is called a drake, a female duck a hen, and a baby duck a duckling.}\n{=(1.image):https://i.imgur.com/78gITmV.gif}\n\n{=(2.description):Most ducks quack, however, the wood duck squeals.}\n{=(2.image):https://i.imgur.com/5iK85wF.jpg}\n\n{=(3.description):Ducklings are able to fly within 5-8 weeks.}\n{=(3.image):https://i.imgur.com/8fu0v5a.gif}\n\n{=(4.description):Did you know that “city ducks” have been found to have a different accent from country ducks? Researchers in the UK found the city ducks have a louder “QUACK!” compared to country ducks!}\n{=(4.image):}\n\n{=(5.description):Ducks can change genders – Gender change in ducks is rare, but happens as often as 1 in every 10,000 birds and can happen both from female to male and male to female, although female to male seems much more common. }\n{=(5.image):}\n\n{=(6.description):The fastest duck ever recorded was a red-breasted merganser that attained a top airspeed of 100 mph while being pursued by an airplane.}\n{=(6.image):https://i.imgur.com/CCkMIFr.gif}\n\n{=(7.description):DUCKS CAN CLOSE ONE EYE AND PUT HALF THEIR BRAIN TO SLEEP.}\n{=(7.image):https://i.imgur.com/qGWwLHm.jpg}\n\n{=(8.description):Ducks feet has no nerves or blood vessels, meaning that their feet do not feel the cold! This enables ducks to swim in icy water, and walk in ice and snow.}\n{=(8.image):https://i.imgur.com/i1YdBge.gif}\n\n{=(9.description):Indian Runners are the domestic ducks. They stand erect like penguins and, rather than waddling, they run.}\n{=(9.image):https://i.imgur.com/PotB3at.gif}\n\n{=(10.description):Ducks have three eyelids. The top and bottom as well as a third that is found on the side of the eye. It is clear and acts much like goggles.}\n{=(10.image):https://i.imgur.com/yT0xuOS.gif}\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):Duck 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-20T23:46:45.491Z"
}