mod

Privateunrated

Content

62 lines
{=():}
{=(READ ME):Replace the current ID with your staff team's role IDs}
{=(STAFF_ROLE):742759173984354324}
{=(TRIAL_MOD_ROLE):853432374813130762}
{=(MOD_ROLE):703694192416653377}
{=(MOD_PUNISH):ban tempban kick}
{=(TRIAL_MOD_PUNISH):hardmute mute warn}


{require(You cannot do this!):{STAFF_ROLE}}

{=(IS_STAFF):{contains({STAFF_ROLE}):{user(roleids)}}}
{=(IS_MOD):{contains({MOD_ROLE}):{user(roleids)}}}
{=(IS_TRIAL_MOD):{or({contains({TRIAL_MOD_ROLE}):{user(roleids)}}==true|{IS_MOD}==true):true|false}}


{{and({IS_MOD}==false|{contains({lower:{args(1)}}):{MOD_PUNISH}}==true):blacklist(You cannot do this!):{server(id)}}}
{{and({IS_TRIAL_MOD}==false|{contains({lower:{args(1)}}):{TRIAL_MOD_PUNISH}}==true):blacklist(You cannot do this!):{server(id)}}}


{=(COMMENT):Keywords each with reasons. Modifiable but you should know what you're doing}
{=(reasons):nsfw slur spam obv promo support channel ping underage}
{=(actions):{if({IS_MOD}==true):{MOD_PUNISH} {TRIAL_MOD_PUNISH}|{if({IS_TRIAL_MOD}==true):{TRIAL_MOD_PUNISH}|None}}}
{=(punishments):{MOD_PUNISH} {TRIAL_MOD_PUNISH}}

{=(nsfw):Sending NSFW}
{=(slur):Using slurs}
{=(spam):Spamming channels}
{=(obv):Obvious Troll}
{=(promo):Self promotion/Advertising}
{=(channel):Using incorrect channels}
{=(support):Requesting support in incorrect channels or DMs}
{=(ping):Pinging mods}
{=(underage):Underage. Violation of Discord's Terms of Service}
{=(error):Usage:
`!mod <action> <user> <keyword> [duration|delete days]`

Keywords:
`{reasons}`
Available Actions:
`{actions}`}


{=(COMMMENT):
Below variables are checking if your arguments are valid and if your target is by ID or Mention (could've not done this but the reason will show up even with invalid target).Do not tamper or you may break the tag except if you have fond knowledge of TSE.
}

{=(validTarget):{or({in(>):{2}}==true|{m:sgn({2})}==1):true|false}}
{=(validKey):{contains({lower:{3}}):{reasons}}}
{=(validAct):{contains({lower:{1}}):{punishments}}}
{=(checkConditions):{validKey}{validAct}{validTarget}}

{=(COMMENT):Message output determined by checkConditions variable}
{=(m-{checkConditions}):} 
{=(m-truetruetrue):Reason: {{lower:{3}}}}
{m-{checkConditions}}

{=(COMMENT):Command output determined by checkConditions variable}
{=(s-{checkConditions}):c:embed 7289da |{error}} 
{=(other):{if(!={list(3):{join(~):{args}}}):{4}}}
{=(s-truetruetrue):c:{lower:{1}} {2} {other} {{lower:{3}}}}
{{s-{checkConditions}}}
Raw JSON
{
  "id": 770913,
  "created_at": "2021-04-22T16:21:33.000Z",
  "tag_name": "mod",
  "nsfw": false,
  "owner_id": "489484338514100234",
  "uses": 84,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "703694192416653373",
  "sharer": "489484338514100234",
  "content": "{=():}\n{=(READ ME):Replace the current ID with your staff team's role IDs}\n{=(STAFF_ROLE):742759173984354324}\n{=(TRIAL_MOD_ROLE):853432374813130762}\n{=(MOD_ROLE):703694192416653377}\n{=(MOD_PUNISH):ban tempban kick}\n{=(TRIAL_MOD_PUNISH):hardmute mute warn}\n\n\n{require(You cannot do this!):{STAFF_ROLE}}\n\n{=(IS_STAFF):{contains({STAFF_ROLE}):{user(roleids)}}}\n{=(IS_MOD):{contains({MOD_ROLE}):{user(roleids)}}}\n{=(IS_TRIAL_MOD):{or({contains({TRIAL_MOD_ROLE}):{user(roleids)}}==true|{IS_MOD}==true):true|false}}\n\n\n{{and({IS_MOD}==false|{contains({lower:{args(1)}}):{MOD_PUNISH}}==true):blacklist(You cannot do this!):{server(id)}}}\n{{and({IS_TRIAL_MOD}==false|{contains({lower:{args(1)}}):{TRIAL_MOD_PUNISH}}==true):blacklist(You cannot do this!):{server(id)}}}\n\n\n{=(COMMENT):Keywords each with reasons. Modifiable but you should know what you're doing}\n{=(reasons):nsfw slur spam obv promo support channel ping underage}\n{=(actions):{if({IS_MOD}==true):{MOD_PUNISH} {TRIAL_MOD_PUNISH}|{if({IS_TRIAL_MOD}==true):{TRIAL_MOD_PUNISH}|None}}}\n{=(punishments):{MOD_PUNISH} {TRIAL_MOD_PUNISH}}\n\n{=(nsfw):Sending NSFW}\n{=(slur):Using slurs}\n{=(spam):Spamming channels}\n{=(obv):Obvious Troll}\n{=(promo):Self promotion/Advertising}\n{=(channel):Using incorrect channels}\n{=(support):Requesting support in incorrect channels or DMs}\n{=(ping):Pinging mods}\n{=(underage):Underage. Violation of Discord's Terms of Service}\n{=(error):Usage:\n`!mod <action> <user> <keyword> [duration|delete days]`\n\nKeywords:\n`{reasons}`\nAvailable Actions:\n`{actions}`}\n\n\n{=(COMMMENT):\nBelow variables are checking if your arguments are valid and if your target is by ID or Mention (could've not done this but the reason will show up even with invalid target).Do not tamper or you may break the tag except if you have fond knowledge of TSE.\n}\n\n{=(validTarget):{or({in(>):{2}}==true|{m:sgn({2})}==1):true|false}}\n{=(validKey):{contains({lower:{3}}):{reasons}}}\n{=(validAct):{contains({lower:{1}}):{punishments}}}\n{=(checkConditions):{validKey}{validAct}{validTarget}}\n\n{=(COMMENT):Message output determined by checkConditions variable}\n{=(m-{checkConditions}):} \n{=(m-truetruetrue):Reason: {{lower:{3}}}}\n{m-{checkConditions}}\n\n{=(COMMENT):Command output determined by checkConditions variable}\n{=(s-{checkConditions}):c:embed 7289da |{error}} \n{=(other):{if(!={list(3):{join(~):{args}}}):{4}}}\n{=(s-truetruetrue):c:{lower:{1}} {2} {other} {{lower:{3}}}}\n{{s-{checkConditions}}}",
  "embed": "{}",
  "last_fetched": "2026-10-21T01:13:16.775Z"
}