mgoal
Privateunrated
Content
54 lines{=(READ ME PLEASE):replace the bot count, prefix and the tagname with your server's own count of bot users, prefix, and tag name}
{=(prefix):-}
{=(tagname):mgoal}
{=(bot.count):19}
{=(COMMENT):MESSAGE TO SEND do not touch everything beyond this point unless you know what you are doing}
{=({1}):}
{=(create):Successfully created the goal!}
{=(remove):Removed the goal.}
{=(help):List of commands with its subcommands:
`{prefix}{tagname} create <number>` - Create a goal
`{prefix}{tagname} track` - Tracks your goal
`{prefix}{tagname} remove` - Removes the current goal
`{prefix}{tagname} help` - Gives you this list of commands}
{{1}}
{=(COMMENT):Creates a variable that returns both opening and close brackets}
{=( ):{ }}
{=(LB):{ (1)}}
{=(RB):{ (2)}}
{=(COMMENT):ERROR MESSAGES}
{=(invalid.args):Invalid arguments. run `{prefix}{tagname} help` for the list of commands and its subcommands}
{=(invalid.value):An invalid value was found at
```{prefix}{tagname} {1} {2} <=== Here```
}
{=(COMMENT):Checks if first argument contains valid arguments. Returns error if it doesn't}
{=(torf):{contains({1}):create help track remove}}
{=(true):=():}
{=(false):blacklist({invalid.args}):{server(id)}}
{{{torf}}}
{=(COMMENT):Checks if second argument is a number. Returns error if it doesn't}
{=(isNum):{and({m:sgn({2})}!=1|create=={1}):no|yes}}
{=(yes):=():}
{=(no):blacklist({invalid.value}):{server(id)}}
{{{isNum}}}
{=(COMMENT):The trigger message}
{=(trigger.message):{LB}=(accurate_human_count):{LB}m:trunc({LB}server(humans){RB}-{bot.count}){RB}{RB}
**{server}**'s Member Goal
```diff
+Target Member Count: {2} members
-Current Member Count: {LB}accurate_human_count{RB} members
```
{LB}if({LB}accurate_human_count{RB}>={2}):We have reached the target goal. Congratulations!|We need
** {LB}m:trunc({2}-{LB}accurate_human_count{RB}){RB} ** more members!{RB}}
{=(COMMENT):What behavior block should be the output}
{=(goal.{1}):=():}
{=(goal.remove):c:ar - "{prefix}{tagname} track"}
{=(goal.create):c:ar startswith "{prefix}{tagname} track" {trigger.message}}
{{goal.{1}}}{silence}Raw JSON
{
"id": 615725,
"created_at": "2021-02-18T08:41:24.000Z",
"tag_name": "mgoal",
"nsfw": false,
"owner_id": "711504027128430597",
"uses": 16,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "710915974907428934",
"sharer": "689128445271474215",
"content": "{=(READ ME PLEASE):replace the bot count, prefix and the tagname with your server's own count of bot users, prefix, and tag name}\n{=(prefix):-}\n{=(tagname):mgoal}\n{=(bot.count):19}\n\n{=(COMMENT):MESSAGE TO SEND do not touch everything beyond this point unless you know what you are doing}\n{=({1}):}\n{=(create):Successfully created the goal!}\n{=(remove):Removed the goal.}\n{=(help):List of commands with its subcommands:\n`{prefix}{tagname} create <number>` - Create a goal\n`{prefix}{tagname} track` - Tracks your goal\n`{prefix}{tagname} remove` - Removes the current goal\n`{prefix}{tagname} help` - Gives you this list of commands}\n{{1}}\n\n{=(COMMENT):Creates a variable that returns both opening and close brackets}\n{=( ):{ }}\n{=(LB):{ (1)}}\n{=(RB):{ (2)}}\n\n{=(COMMENT):ERROR MESSAGES}\n{=(invalid.args):Invalid arguments. run `{prefix}{tagname} help` for the list of commands and its subcommands}\n{=(invalid.value):An invalid value was found at\n```{prefix}{tagname} {1} {2} <=== Here``` \n}\n\n{=(COMMENT):Checks if first argument contains valid arguments. Returns error if it doesn't}\n{=(torf):{contains({1}):create help track remove}}\n{=(true):=():}\n{=(false):blacklist({invalid.args}):{server(id)}}\n{{{torf}}}\n\n{=(COMMENT):Checks if second argument is a number. Returns error if it doesn't}\n{=(isNum):{and({m:sgn({2})}!=1|create=={1}):no|yes}}\n{=(yes):=():}\n{=(no):blacklist({invalid.value}):{server(id)}}\n{{{isNum}}}\n\n{=(COMMENT):The trigger message}\n{=(trigger.message):{LB}=(accurate_human_count):{LB}m:trunc({LB}server(humans){RB}-{bot.count}){RB}{RB}\n**{server}**'s Member Goal\n```diff\n+Target Member Count: {2} members\n-Current Member Count: {LB}accurate_human_count{RB} members\n```\n{LB}if({LB}accurate_human_count{RB}>={2}):We have reached the target goal. Congratulations!|We need \n ** {LB}m:trunc({2}-{LB}accurate_human_count{RB}){RB} ** more members!{RB}}\n\n{=(COMMENT):What behavior block should be the output}\n{=(goal.{1}):=():}\n{=(goal.remove):c:ar - \"{prefix}{tagname} track\"}\n{=(goal.create):c:ar startswith \"{prefix}{tagname} track\" {trigger.message}}\n{{goal.{1}}}{silence}",
"embed": "{}",
"last_fetched": "2026-10-21T00:20:29.356Z"
}