dr

Private

Content

34 lines
{=():}
{=(val):{+:trunc({replace(b,*1000000000):{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`, `k`, `b` notation to represent 10^, million, thousand, and billion respectively. You might be seeing this help menu because {user(mention)} you used a value which is lower than the lowest role (25 million).
Type `-dr <user> reassign` to clear all donor roles if you messed up.}

{=(roles):
{{minimum} 10000000000 {role} 1233947513661165578}
{{minimum} 5000000000 {role} 1452770088477392997}
{{minimum} 1000000000 {role} 1233945654460416030}
{{minimum} 250000000 {role} 1233945458049548430}
{{minimum} 50000000 {role} 755244131667804181}
{{minimum} 25000000 {role} 755243646663655526}}

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

{=(roles):{if({2}==reassign):-1233947513661165578 -1452770088477392997 -1233945654460416030 -1233945458049548430 -755244131667804181 -755243646663655526|{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 <#759313543736328242> channel goober):755792391121928332, 759313543736328242, 756057484006785046, 1532778096162377818, 1555492163016728626, 804123118306197504}
{=(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": 346446,
  "created_at": "2020-09-25T14:56:42.000Z",
  "tag_name": "dr",
  "nsfw": false,
  "owner_id": "434613993253109760",
  "uses": 25123,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "682809584985178135",
  "sharer": "266432078222983169",
  "content": "{=():}\n{=(val):{+:trunc({replace(b,*1000000000):{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`, `k`, `b` notation to represent 10^, million, thousand, and billion respectively. You might be seeing this help menu because {user(mention)} you used a value which is lower than the lowest role (25 million).\nType `-dr <user> reassign` to clear all donor roles if you messed up.}\n\n{=(roles):\n{{minimum} 10000000000 {role} 1233947513661165578}\n{{minimum} 5000000000 {role} 1452770088477392997}\n{{minimum} 1000000000 {role} 1233945654460416030}\n{{minimum} 250000000 {role} 1233945458049548430}\n{{minimum} 50000000 {role} 755244131667804181}\n{{minimum} 25000000 {role} 755243646663655526}}\n\n{=(roles):{replace(,):{roles}}}\n\n{=(roles):{if({2}==reassign):-1233947513661165578 -1452770088477392997 -1233945654460416030 -1233945458049548430 -755244131667804181 -755243646663655526|{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 <#759313543736328242> channel goober):755792391121928332, 759313543736328242, 756057484006785046, 1532778096162377818, 1555492163016728626, 804123118306197504}\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-20T22:35:41.922Z"
}