math
Privateunrated
Content
25 lines{=(comment):This is where all the possible operations are.}
{=(operations):+~-~/~*}
{=(comment):This selects a random operation from the list and stores it to be used later.}
{=(randOperation):{rand:{operations}}}
{=(comment):These are the possible numbers that can be in the math problem.}
{=(possibleNumbers1):1-1000}
{=(possibleNumbers2):1-1000}
{=(comment):This variable stores the problem by combining the other variables.}
{=(problem):{range:{possibleNumbers1}} {randOperation} {range:{possibleNumbers2}}}
{=(comment):This DMs the person who used the command the answer to it in a spoiler format.}
{dm}
||{m:{problem}}||
{=(comment):This sends the problem in the channel it was used in.}
{c:echo {problem}}{override}Raw JSON
{
"id": 745256,
"created_at": "2021-04-12T16:20:18.000Z",
"tag_name": "math",
"nsfw": false,
"owner_id": "613752401878450176",
"uses": 0,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "806138822873055272",
"sharer": "613752401878450176",
"content": "{=(comment):This is where all the possible operations are.}\n\n{=(operations):+~-~/~*}\n\n{=(comment):This selects a random operation from the list and stores it to be used later.}\n\n{=(randOperation):{rand:{operations}}}\n\n{=(comment):These are the possible numbers that can be in the math problem.}\n\n{=(possibleNumbers1):1-1000}\n{=(possibleNumbers2):1-1000}\n\n{=(comment):This variable stores the problem by combining the other variables.}\n\n{=(problem):{range:{possibleNumbers1}} {randOperation} {range:{possibleNumbers2}}}\n\n{=(comment):This DMs the person who used the command the answer to it in a spoiler format.}\n\n{dm}\n||{m:{problem}}||\n\n{=(comment):This sends the problem in the channel it was used in.}\n\n{c:echo {problem}}{override}",
"embed": "{}",
"last_fetched": "2026-10-21T01:05:24.960Z"
}