al

Privateunrated

Content

24 lines
{=():}
{silence}
{require(You can’t use this command, {user(mention)}!):613399526081953798,613798956270354433,923632778610892810,730553643513806870}
{=(al.role.id):744701275714879659}
{=(ar.role.id):738448303674490880}
{=(ar.role.mention):<@&738448303674490880>}
{=(al.role.mention):<@&744701275714879659>}
{=(args.3.space):{replace(, ):{args(3)}}}
{=(check1):{contains({args(2)}):y n}}
{=(check2):{contains({args.3.space(-1)}):s m h d w mo y}}
{=(check3):{if({target(id)}!={user(id)}):true|false}}
{=(check4):{any({args(3)}==none|{check2}==true):true|false}}
{=(check5):{and({contains({ar.role.id}):{target(roleids)}}==false|{args(2)}==y):true|false}}
{=(check6):{contains({al.role.id}):{target(roleids)}}}
{=(final.check):{and({check1}==true|{check4}==true|{check3}==true|{check5}==false|{check6}==false):true|false}}
{=(time.answer):{if({args(3)}==none):an indefinite amount of time|{args(3)}}}

{{and({final.check}==true|{args(2)}==y):c:role remove {target(id)} 738448303674490880}}

{{and({final.check}==true|{args(3)}!=none):c:temprole {target(id)} {args(3)} {al.role.id}}}

{{and({final.check}==true|{args(3)}==none):c:role add {target(id)} {al.role.id}}}

{and({final.check}==true|{args(2)}==y):{target(mention)} has been given the {al.role.mention} role for {time.answer} and I have also removed the {ar.role.mention} role from them!|{and({final.check}==true|{args(2)}==n):{target(mention)} has been given the {al.role.mention} role for {time.answer}!|{and({check1}==false|{check4}==true|{check3}==true):You need to specify `y` or `n` in the second argument! Putting `y` will remove the {ar.role.mention} role as well, while `n` will not!|{and({check4}==false|{check1}==true|{check3}==true):You need to specify an amount of time to give the {al.role.mention} role for. Remember to put `s`, `m`, `h`, `d`, `w`, `mo`, or `y` after the number! You can also put `none` if you want it to be indefinite.|{and({check3}==false|{check1}==true|{check4}==true):You need to mention someone! Remember that you need to actually mention someone, not put an ID, as IDs don’t work!|{and({check5}==true|{check6}==false|{check1}==true|{check4}==true|{check3}==true):That user doesn’t have the {ar.role.mention} role. Try again, but make sure the second argument is set to `n`.|{and({check6}==true|{check1}==true|{check4}==true|{check3}==true):That user already has the {al.role.mention} role! Make sure to manually remove the role before using the command again.|{any({check1}==false|{check4}==false|{check3}==false):I cannot specify what exactly you did wrong! You did more than one thing wrong! Remember the syntax: `al <user> <y/n> <duration>` For example: `!al @​BubbyCT y 1h`}}}}}}}}
Raw JSON
{
  "id": 1304290,
  "created_at": "2022-02-26T21:31:38.000Z",
  "tag_name": "al",
  "nsfw": false,
  "owner_id": "527934523044790272",
  "uses": 146,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "613394833695965210",
  "sharer": "527934523044790272",
  "content": "{=():}\n{silence}\n{require(You can’t use this command, {user(mention)}!):613399526081953798,613798956270354433,923632778610892810,730553643513806870}\n{=(al.role.id):744701275714879659}\n{=(ar.role.id):738448303674490880}\n{=(ar.role.mention):<@&738448303674490880>}\n{=(al.role.mention):<@&744701275714879659>}\n{=(args.3.space):{replace(, ):{args(3)}}}\n{=(check1):{contains({args(2)}):y n}}\n{=(check2):{contains({args.3.space(-1)}):s m h d w mo y}}\n{=(check3):{if({target(id)}!={user(id)}):true|false}}\n{=(check4):{any({args(3)}==none|{check2}==true):true|false}}\n{=(check5):{and({contains({ar.role.id}):{target(roleids)}}==false|{args(2)}==y):true|false}}\n{=(check6):{contains({al.role.id}):{target(roleids)}}}\n{=(final.check):{and({check1}==true|{check4}==true|{check3}==true|{check5}==false|{check6}==false):true|false}}\n{=(time.answer):{if({args(3)}==none):an indefinite amount of time|{args(3)}}}\n\n{{and({final.check}==true|{args(2)}==y):c:role remove {target(id)} 738448303674490880}}\n\n{{and({final.check}==true|{args(3)}!=none):c:temprole {target(id)} {args(3)} {al.role.id}}}\n\n{{and({final.check}==true|{args(3)}==none):c:role add {target(id)} {al.role.id}}}\n\n{and({final.check}==true|{args(2)}==y):{target(mention)} has been given the {al.role.mention} role for {time.answer} and I have also removed the {ar.role.mention} role from them!|{and({final.check}==true|{args(2)}==n):{target(mention)} has been given the {al.role.mention} role for {time.answer}!|{and({check1}==false|{check4}==true|{check3}==true):You need to specify `y` or `n` in the second argument! Putting `y` will remove the {ar.role.mention} role as well, while `n` will not!|{and({check4}==false|{check1}==true|{check3}==true):You need to specify an amount of time to give the {al.role.mention} role for. Remember to put `s`, `m`, `h`, `d`, `w`, `mo`, or `y` after the number! You can also put `none` if you want it to be indefinite.|{and({check3}==false|{check1}==true|{check4}==true):You need to mention someone! Remember that you need to actually mention someone, not put an ID, as IDs don’t work!|{and({check5}==true|{check6}==false|{check1}==true|{check4}==true|{check3}==true):That user doesn’t have the {ar.role.mention} role. Try again, but make sure the second argument is set to `n`.|{and({check6}==true|{check1}==true|{check4}==true|{check3}==true):That user already has the {al.role.mention} role! Make sure to manually remove the role before using the command again.|{any({check1}==false|{check4}==false|{check3}==false):I cannot specify what exactly you did wrong! You did more than one thing wrong! Remember the syntax: `al <user> <y/n> <duration>` For example: `!al @​BubbyCT y 1h`}}}}}}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T18:33:43.766Z"
}