dr

Privateunrated

Content

34 lines
{=():}
{=(val):{+:trunc({replace(m,*1000000):{replace(k,*1000):{replace(e,*10^):{lower:{2}}}}})}}
{=(val):{if({+:trunc({val}/1)}!={val}):0|{val}}}
{=(minimum):if({val}>=}
{=(role):): +}
{=(faultptr):fault}

{=(fault):The format of the command is `-dr <user> <amount> [-n]`, the amount accepts `e`, `m` and `k` notation to represent 10^, million and thousand respectively. You can also use -n to set this current value in the user notes.
Also, you might be seeing this help menu because {user(mention)} is an IDIOT and giving a value which is lower than the lowest role (5 million).
Type `-dr <user> reassign` to clear all donor roles if you messed up.}

{=(roles):
{{minimum} 50000000 {role} 888802556321615944}
{{minimum} 25000000 {role} 888802743190442074}
{{minimum} 15000000 {role} 888802950963658752}
{{minimum} 10000000 {role} 888802992411770881}
{{minimum} 5000000 {role} 888803019158872125}}

{=(roles):{replace(,):{roles}}}

{=(roles):{if({2}==reassign):-888802556321615944 -888802743190442074 -888802950963658752 -888802992411770881 -888803019158872125|{roles}}}
{=(val):{if({2}==reassign):6969420|{val}}}

{=(cformat):c: role c {1} {roles}}
{=(f):{if({val}<=4999999):faultptr|{if({2}=={args}):faultptr|cformat}}}
{{{f}}}
{{if({f}==cformat):{if({contains(-n):{args}}==true):c: setnote {1} {if({args(2):-}==n):{2}|{replace(n ,):{args(2+):-}}}}}}
{override}
{require(Try running this in the <#900750126539214868> channel goober):890238094740189244,805346989867925525,900750126539214868}
{=(dryMention):<@{join(><):{1}>}}

{=(checkDis):{if({user(id)}=={target(id)}):{dryMention}|{target(mention)}}}
{=(blank):Roles were granted to {checkDis} (`{1}`) by {user(name)} (`{user(id)}`)}
{{if({f}!=faultptr):{if({args}!=):blank|}|}}
Raw JSON
{
  "id": 1016742,
  "created_at": "2021-08-19T00:06:52.000Z",
  "tag_name": "dr",
  "nsfw": false,
  "owner_id": "699682128170057858",
  "uses": 38,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "803570305158742038",
  "sharer": "699682128170057858",
  "content": "{=():}\n{=(val):{+:trunc({replace(m,*1000000):{replace(k,*1000):{replace(e,*10^):{lower:{2}}}}})}}\n{=(val):{if({+:trunc({val}/1)}!={val}):0|{val}}}\n{=(minimum):if({val}>=}\n{=(role):): +}\n{=(faultptr):fault}\n\n{=(fault):The format of the command is `-dr <user> <amount> [-n]`, the amount accepts `e`, `m` and `k` notation to represent 10^, million and thousand respectively. You can also use -n to set this current value in the user notes.\nAlso, you might be seeing this help menu because {user(mention)} is an IDIOT and giving a value which is lower than the lowest role (5 million).\nType `-dr <user> reassign` to clear all donor roles if you messed up.}\n\n{=(roles):\n{{minimum} 50000000 {role} 888802556321615944}\n{{minimum} 25000000 {role} 888802743190442074}\n{{minimum} 15000000 {role} 888802950963658752}\n{{minimum} 10000000 {role} 888802992411770881}\n{{minimum} 5000000 {role} 888803019158872125}}\n\n{=(roles):{replace(,):{roles}}}\n\n{=(roles):{if({2}==reassign):-888802556321615944 -888802743190442074 -888802950963658752 -888802992411770881 -888803019158872125|{roles}}}\n{=(val):{if({2}==reassign):6969420|{val}}}\n\n{=(cformat):c: role c {1} {roles}}\n{=(f):{if({val}<=4999999):faultptr|{if({2}=={args}):faultptr|cformat}}}\n{{{f}}}\n{{if({f}==cformat):{if({contains(-n):{args}}==true):c: setnote {1} {if({args(2):-}==n):{2}|{replace(n ,):{args(2+):-}}}}}}\n{override}\n{require(Try running this in the <#900750126539214868> channel goober):890238094740189244,805346989867925525,900750126539214868}\n{=(dryMention):<@{join(><):{1}>}}\n\n{=(checkDis):{if({user(id)}=={target(id)}):{dryMention}|{target(mention)}}}\n{=(blank):Roles were granted to {checkDis} (`{1}`) by {user(name)} (`{user(id)}`)}\n{{if({f}!=faultptr):{if({args}!=):blank|}|}}",
  "embed": "{}",
  "last_fetched": "2026-10-21T02:28:22.160Z"
}