auto

Privateunrated

Content

29 lines
{=(comment):Change the payload in the two lines below to whatever you'd like. Prefix is the prefix used to trigger a carl bot command and tagname is the name you'll be giving to your tag.}
{=(tagname):auto}
{=(prefix):*}
{=(comment):The variable below needs to be changed to the number of warnings a member can have maximally before a ban. In my case, it's 10 warnings.}
{=(warnnum):10}

{=(checkuser):{or({2}=={user(name)}|{2}=={user(proper)}|{2}=={user(mention)}|{2}=={user(id)}):true|false}}
{=(makeoutput):{or({2}=={user(name)}|{2}=={user(proper)}|{2}=={user(mention)}|{2}=={user(id)}|{1}>{warnnum}|{1}<1):true|false}}

{=(error):{or({checkuser}==true):You can't punish yourself dude.|{or({1}>{warnnum}|{1}<1):There isn't a punishment linked with that number.}}
The command works like this:
`{prefix}{tagname} <number of warnings> <target>`}

{=(comment):Modify the section below as you will. If you want to add a punishment, then you need to copy one of the lines after the line below and replace the p and the number after said p with the warning number.}
{=(p{1}):mute 0m}
{=(p1):mute 0m}
{=(p2):mute 1h}
{=(p3):mute 2h}
{=(p4):mute 4h}
{=(p5):mute 8h}
{=(p6):mute 12h}
{=(p7):tempban 1d}
{=(p8):tempban 3d}
{=(p9):tempban 5d}
{=(p10):ban}
{=(p{1}):{if({checkuser}==true):mute 0m|{p{1}}}}
{=(output):{if({makeoutput}==true):{error}}}
{output}
{c:{p{1}(1)} {2} {p{1}(2)}}
Raw JSON
{
  "id": 502538,
  "created_at": "2020-12-26T21:08:54.000Z",
  "tag_name": "auto",
  "nsfw": false,
  "owner_id": "439761555295567872",
  "uses": 18,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "744506167669162046",
  "sharer": "439761555295567872",
  "content": "{=(comment):Change the payload in the two lines below to whatever you'd like. Prefix is the prefix used to trigger a carl bot command and tagname is the name you'll be giving to your tag.}\n{=(tagname):auto}\n{=(prefix):*}\n{=(comment):The variable below needs to be changed to the number of warnings a member can have maximally before a ban. In my case, it's 10 warnings.}\n{=(warnnum):10}\n\n{=(checkuser):{or({2}=={user(name)}|{2}=={user(proper)}|{2}=={user(mention)}|{2}=={user(id)}):true|false}}\n{=(makeoutput):{or({2}=={user(name)}|{2}=={user(proper)}|{2}=={user(mention)}|{2}=={user(id)}|{1}>{warnnum}|{1}<1):true|false}}\n\n{=(error):{or({checkuser}==true):You can't punish yourself dude.|{or({1}>{warnnum}|{1}<1):There isn't a punishment linked with that number.}}\nThe command works like this:\n`{prefix}{tagname} <number of warnings> <target>`}\n\n{=(comment):Modify the section below as you will. If you want to add a punishment, then you need to copy one of the lines after the line below and replace the p and the number after said p with the warning number.}\n{=(p{1}):mute 0m}\n{=(p1):mute 0m}\n{=(p2):mute 1h}\n{=(p3):mute 2h}\n{=(p4):mute 4h}\n{=(p5):mute 8h}\n{=(p6):mute 12h}\n{=(p7):tempban 1d}\n{=(p8):tempban 3d}\n{=(p9):tempban 5d}\n{=(p10):ban}\n{=(p{1}):{if({checkuser}==true):mute 0m|{p{1}}}}\n{=(output):{if({makeoutput}==true):{error}}}\n{output}\n{c:{p{1}(1)} {2} {p{1}(2)}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T23:36:44.199Z"
}