upgrade
Privateunrated
Content
15 lines{=(levels):1 2 3 4}
{=(cost.1):20}
{=(cost.2):35}
{=(cost.3):55}
{=(cost.4):100}
{=(costs):{cost.1} {cost.2} {cost.3} {cost.4}}
{=(upgrade.cost):{m:trunc({join(+):{costs(+{1})}})}}
{=(check.args):{contains({1}):{levels}}}
{=(output):{if({check.args}==true):The total cost to reach an upgrade of **level {1}** is **{upgrade.cost}**.|Please specify a level along with the command to know its total upgrade cost!}}
{embed(color):#2f3136}Embed
1 line{"color": 5198940, "title": "Upgrade Cost", "description": "{output}"}Raw JSON
{
"id": 309370,
"created_at": "2020-08-29T16:59:24.000Z",
"tag_name": "upgrade",
"nsfw": false,
"owner_id": "149926720114262016",
"uses": 7,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "728777576348254258",
"sharer": "149926720114262016",
"content": "{=(levels):1 2 3 4}\n\n{=(cost.1):20}\n{=(cost.2):35}\n{=(cost.3):55}\n{=(cost.4):100}\n\n{=(costs):{cost.1} {cost.2} {cost.3} {cost.4}}\n{=(upgrade.cost):{m:trunc({join(+):{costs(+{1})}})}}\n\n{=(check.args):{contains({1}):{levels}}}\n\n{=(output):{if({check.args}==true):The total cost to reach an upgrade of **level {1}** is **{upgrade.cost}**.|Please specify a level along with the command to know its total upgrade cost!}}\n\n{embed(color):#2f3136}",
"embed": "{\"color\": 5198940, \"title\": \"Upgrade Cost\", \"description\": \"{output}\"}",
"last_fetched": "2026-10-20T22:22:32.021Z"
}