bon

Private

Content

18 lines
{del} 
{=(reason):{if({args(2+)}==):No reason given.|{args(2+)}}}

{=(ss):{math:round({replace(s, ):{replace(m, *60):{replace(h, *3600):{replace(d, *86400):{replace(w, *604800):{replace(M, *2592000):{replace(y, *31622400):{args(2)}}}}}}}})}}
{=(timedelta):{td({math:round({unix}-{ss})}):{strf:%Y-%m-%d %H:%M:%S}}}

{=(msg1):```-bon <member> [reason]
     ^^^^^^^^
member is a required argument that is missing.```} 
{=(msg2):Banned **{target(proper)}**. Reason: {reason}}
{=(msg3):Banned **{target(proper)}** for {timedelta}. Reason: {reason}}
{=(msg4):You cannot ban yourself noob.}
{=(msg5):You're not high enough in the role hierarchy to do that.}
{=(msg6):Imagine banning the owner.}

{=(dd):{ord:{ss}}}
{=(display):{if({args(1)}==):{msg1}|{if({target(id)}=={user(id)}):{msg4}|{if({target(id)}==843827445186166844):{msg6}|{if({target(position)}>={user(position)}):{msg5}|{or({dd}==<ord error>|{ss}>={unix}):{msg2}|{msg3}}}}}}}
{display}
Raw JSON
{
  "id": 1258115,
  "created_at": "2022-01-27T06:40:54.000Z",
  "tag_name": "bon",
  "nsfw": false,
  "owner_id": "722445745432821770",
  "uses": 1080,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "890134918171082772",
  "sharer": "825721135106359336",
  "content": "{del} \n{=(reason):{if({args(2+)}==):No reason given.|{args(2+)}}}\n\n{=(ss):{math:round({replace(s, ):{replace(m, *60):{replace(h, *3600):{replace(d, *86400):{replace(w, *604800):{replace(M, *2592000):{replace(y, *31622400):{args(2)}}}}}}}})}}\n{=(timedelta):{td({math:round({unix}-{ss})}):{strf:%Y-%m-%d %H:%M:%S}}}\n\n{=(msg1):```-bon <member> [reason]\n     ^^^^^^^^\nmember is a required argument that is missing.```} \n{=(msg2):Banned **{target(proper)}**. Reason: {reason}}\n{=(msg3):Banned **{target(proper)}** for {timedelta}. Reason: {reason}}\n{=(msg4):You cannot ban yourself noob.}\n{=(msg5):You're not high enough in the role hierarchy to do that.}\n{=(msg6):Imagine banning the owner.}\n\n{=(dd):{ord:{ss}}}\n{=(display):{if({args(1)}==):{msg1}|{if({target(id)}=={user(id)}):{msg4}|{if({target(id)}==843827445186166844):{msg6}|{if({target(position)}>={user(position)}):{msg5}|{or({dd}==<ord error>|{ss}>={unix}):{msg2}|{msg3}}}}}}}\n{display}",
  "embed": "{}",
  "last_fetched": "2026-10-20T18:22:34.354Z"
}