mod

Privateunrated

Content

39 lines
{=(READ ME):Replace the current ID with your staff team's role IDs}
{require(Imagine running this command as a normal member):836031649455013909}

{=(COMMENT):Keywords each with reasons. Modifiable but you should know what you're doing}
{=(reasons):ads dmads nsfw spam ping obv plag underage copy}
{=(punishments):ban mute kick warn hardmute}
{=(ads):Advertising}
{=(dmads):Advertising in DMs}
{=(nsfw):Sending inappropriate and NSFW media}
{=(obv):Obvious Troll}
{=(ping):Mass pinging roles or everyone}
{=(plag):Stealing somebody else's work}
{=(underage):Underage. Violation of Discord's Terms of Service}
{=(copy):Posting Copypasta}
{=(spam):Spamming channels, etc}
{=(error):Keywords:
`{reasons}`
Usage:
`[p]mod <action> <user> <keyword>`}


{=(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({3}):{reasons}}}
{=(validAct):{contains({1}):{punishments}}}
{=(checkConditions):{validKey}{validAct}{validTarget}}

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

{=(COMMENT):Command output determined by checkConditions variable}
{=(s-{checkConditions}):c:embed 4b0000 |{error}} 
{=(s-truetruetrue):c:{1} {2} {{3}}}
{{s-{checkConditions}}}
Raw JSON
{
  "id": 785666,
  "created_at": "2021-04-28T05:41:46.000Z",
  "tag_name": "mod",
  "nsfw": false,
  "owner_id": "753985581779779584",
  "uses": 58,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "801998060216909844",
  "sharer": "753985581779779584",
  "content": "{=(READ ME):Replace the current ID with your staff team's role IDs}\n{require(Imagine running this command as a normal member):836031649455013909}\n\n{=(COMMENT):Keywords each with reasons. Modifiable but you should know what you're doing}\n{=(reasons):ads dmads nsfw spam ping obv plag underage copy}\n{=(punishments):ban mute kick warn hardmute}\n{=(ads):Advertising}\n{=(dmads):Advertising in DMs}\n{=(nsfw):Sending inappropriate and NSFW media}\n{=(obv):Obvious Troll}\n{=(ping):Mass pinging roles or everyone}\n{=(plag):Stealing somebody else's work}\n{=(underage):Underage. Violation of Discord's Terms of Service}\n{=(copy):Posting Copypasta}\n{=(spam):Spamming channels, etc}\n{=(error):Keywords:\n`{reasons}`\nUsage:\n`[p]mod <action> <user> <keyword>`}\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({3}):{reasons}}}\n{=(validAct):{contains({1}):{punishments}}}\n{=(checkConditions):{validKey}{validAct}{validTarget}}\n\n{=(COMMENT):Message output determined by checkConditions variable}\n{=(m-{checkConditions}):} \n{=(m-truetruetrue):Reason: {{3}}}\n{m-{checkConditions}}\n\n{=(COMMENT):Command output determined by checkConditions variable}\n{=(s-{checkConditions}):c:embed 4b0000 |{error}} \n{=(s-truetruetrue):c:{1} {2} {{3}}}\n{{s-{checkConditions}}}",
  "embed": "{}",
  "last_fetched": "2026-10-21T01:17:16.135Z"
}