wwid
wwid stands for When Will I Die Follow the tag/command invocation with an age (could be your age or just any age) It will give you a random death date, with the rng being based on average life expectancies for developed nations, and the random cause being based on statistically common causes of death, with statistically average rates (heart disease most common, etc). It will also link to the wikipedia article for the listed cause of death. The tag will stop if no age is entered, or the entered age is greater than 100. Yes, I'm aware some people live longer than that, my great grandmother did. I made this more to illustrate common causes of death, and the average life expectancy.
Sharedunrated
Content
30 lines{=(1year):31536000}
{=(raw):{args}}
{=(test1):{m:trunc({raw}/1)}}
{=(test2):{m:{raw}/1}}
{=(age):{if({raw}=={test1}):{raw}|{if({raw}=={test2}):{raw}|}}}
{break({age}==):Please follow the command with your age, like: `!wwid 29`}
{break({age}<0):You can't be negative years old silly.}
{break({age}>100):If you're actually older than 100, congratulations!}
{=(lbound):{m:trunc({if({age}<65):(65-{age})*{1year}|0})}}
{=(ubound):{m:trunc({if({age}<95):(95-{age})*{1year}|{range:1-5}*{1year}})}}
{=(ddunix):{m:trunc({unix}+{range:{lbound}-{ubound}})}}
{=(deathdate):{strf({ddunix}):%A, %B} {ord:{strf({ddunix}):%-d}}, {strf({ddunix}):%Y at %-I:%M %p}}
{=(cause):{#:23|Cardiovascular Disease,22|Cancer,6|Accident,6|Respiratory Infection,5|Stroke,4|Alzheimer's disease,3|Diabetes,2|Infectious Disease,2|Kidney disease,1|Septicemia,1|Liver failure}}
{=(Cardiovascular Disease):{#:Myocardial infarction,Heart failure}}
{=(Cancer):{#:5|Lung cancer,3|Stomach cancer,2|Pancreatic cancer,1|Hepatocellular carcinoma,1|Leukemia,1|Esophageal cancer,1|Brain tumor}}
{=(Accident):{#:5|Poisoning,5|Drug overdose,10|Traffic collision,5|Falling (accident),3|Choking,3|Drowning,1|Structure fire,1|Heat stroke,1|Hypothermia}}
{=(Respiratory Infection):{#:5|Chronic obstructive pulmonary disease,2|Pulmonary hypertension,2|Pulmonary embolism}}
{=(Stroke):{#:9|Stroke#Ischemic,1|Stroke#Hemorrhagic}}
{=(Alzheimer's disease):Alzheimer's disease}
{=(Diabetes):{#:Hyperglycemia,Hypoglycemia}}
{=(Infectious Disease):{#:Influenza,Pneumonia}}
{=(Kidney disease):Kidney disease}
{=(Septicemia):Sepsis}
{=(Liver failure):Liver failure}
{=(url):https://en.wikipedia.org/wiki/{join(_):{replace(',%27):{{cause}}}}}
{user(mention)}, you will die in {td({unix}):{ddunix}} on {deathdate}.
Your cause of death will be from {cause}{if({{cause}}=={cause}):.|, specifically from {{cause}}.}
{url}Raw JSON
{
"id": 62793,
"created_at": "2019-08-03T09:48:42.000Z",
"tag_name": "wwid",
"nsfw": false,
"owner_id": "129419437911572480",
"uses": 55,
"description": "wwid stands for When Will I Die\nFollow the tag/command invocation with an age (could be your age or just any age)\nIt will give you a random death date, with the rng being based on average life expectancies for developed nations, and the random cause being based on statistically common causes of death, with statistically average rates (heart disease most common, etc). It will also link to the wikipedia article for the listed cause of death.\nThe tag will stop if no age is entered, or the entered age is greater than 100. Yes, I'm aware some people live longer than that, my great grandmother did. I made this more to illustrate common causes of death, and the average life expectancy.",
"restricted": false,
"shared": true,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "542013028795809792",
"sharer": "129419437911572480",
"content": "{=(1year):31536000}\n{=(raw):{args}}\n{=(test1):{m:trunc({raw}/1)}}\n{=(test2):{m:{raw}/1}}\n{=(age):{if({raw}=={test1}):{raw}|{if({raw}=={test2}):{raw}|}}}\n{break({age}==):Please follow the command with your age, like: `!wwid 29`}\n{break({age}<0):You can't be negative years old silly.}\n{break({age}>100):If you're actually older than 100, congratulations!}\n\n{=(lbound):{m:trunc({if({age}<65):(65-{age})*{1year}|0})}}\n{=(ubound):{m:trunc({if({age}<95):(95-{age})*{1year}|{range:1-5}*{1year}})}}\n{=(ddunix):{m:trunc({unix}+{range:{lbound}-{ubound}})}}\n{=(deathdate):{strf({ddunix}):%A, %B} {ord:{strf({ddunix}):%-d}}, {strf({ddunix}):%Y at %-I:%M %p}}\n\n{=(cause):{#:23|Cardiovascular Disease,22|Cancer,6|Accident,6|Respiratory Infection,5|Stroke,4|Alzheimer's disease,3|Diabetes,2|Infectious Disease,2|Kidney disease,1|Septicemia,1|Liver failure}}\n{=(Cardiovascular Disease):{#:Myocardial infarction,Heart failure}}\n{=(Cancer):{#:5|Lung cancer,3|Stomach cancer,2|Pancreatic cancer,1|Hepatocellular carcinoma,1|Leukemia,1|Esophageal cancer,1|Brain tumor}}\n{=(Accident):{#:5|Poisoning,5|Drug overdose,10|Traffic collision,5|Falling (accident),3|Choking,3|Drowning,1|Structure fire,1|Heat stroke,1|Hypothermia}}\n{=(Respiratory Infection):{#:5|Chronic obstructive pulmonary disease,2|Pulmonary hypertension,2|Pulmonary embolism}}\n{=(Stroke):{#:9|Stroke#Ischemic,1|Stroke#Hemorrhagic}}\n{=(Alzheimer's disease):Alzheimer's disease}\n{=(Diabetes):{#:Hyperglycemia,Hypoglycemia}}\n{=(Infectious Disease):{#:Influenza,Pneumonia}}\n{=(Kidney disease):Kidney disease}\n{=(Septicemia):Sepsis}\n{=(Liver failure):Liver failure}\n{=(url):https://en.wikipedia.org/wiki/{join(_):{replace(',%27):{{cause}}}}}\n{user(mention)}, you will die in {td({unix}):{ddunix}} on {deathdate}.\nYour cause of death will be from {cause}{if({{cause}}=={cause}):.|, specifically from {{cause}}.}\n{url}",
"embed": "{}",
"last_fetched": "2026-10-20T20:31:48.999Z"
}