fizzbuzz
Privateunrated
Content
15 lines{=(li1):{list(0):{join(~):{args}}}}
{=(COMMENT):Checks if the first argument is a positive number.}
{=(isPosNum):{if({m:sgn({li1})}==1):true|false}}
{=(modulos):{m:trunc({li1}%15)} {m:trunc({li1}%3)} {m:trunc({li1}%5)} {m:trunc({li1}-{li1})}}
{=(outcome):Fizzbuzz Fizz Buzz None}
{=(idxmod):{index(0):placeholder {modulos}}}
{=(error):Please specify a positive integer along with the command.}
{=(output):{if({isPosNum}==true):{outcome({idxmod})}|{error}}}
{output}Raw JSON
{
"id": 535470,
"created_at": "2021-01-15T01:13:07.000Z",
"tag_name": "fizzbuzz",
"nsfw": false,
"owner_id": "149926720114262016",
"uses": 11,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "728777576348254258",
"sharer": "149926720114262016",
"content": "{=(li1):{list(0):{join(~):{args}}}}\n\n{=(COMMENT):Checks if the first argument is a positive number.}\n{=(isPosNum):{if({m:sgn({li1})}==1):true|false}}\n\n{=(modulos):{m:trunc({li1}%15)} {m:trunc({li1}%3)} {m:trunc({li1}%5)} {m:trunc({li1}-{li1})}}\n{=(outcome):Fizzbuzz Fizz Buzz None}\n\n{=(idxmod):{index(0):placeholder {modulos}}}\n\n{=(error):Please specify a positive integer along with the command.}\n\n{=(output):{if({isPosNum}==true):{outcome({idxmod})}|{error}}}\n\n{output}",
"embed": "{}",
"last_fetched": "2026-10-20T23:48:36.053Z"
}