mod

Privateunrated

Content

59 lines
{=(comment): Edit stuff here}
{=(moderationrole):739273530373570620}

{=(comment): note, you should put them all like so, add or remove any you want.}
{=(allowedcustomcommands):warn ban mute tempmute kick tempban}
{=(punishlist):spam~drama~ping~}

{=(punish):{if({in({2}):{replace(~, ):{punishlist}}}==true):{lower:{2}}|null}}
{=({punish}):error}

{=(comment):You are allowed to touch this}
{=(template):[punishment]~[duration]~[reason]}
{=(spam):warn~~Spamming in {channel}}
{=(drama):mute~12h~Causing drama}
{=(ping):mute~12h~Pinging people}


{require(You are not a moderator!):{moderationrole}}

{=(offender):{if({args(1)}==help):none|{any({target}=={user}|{target}==):error|{args(1)}}}}

{=(sec):in(s):{4}}
{=(min):in(m):{4}}
{=(hr):in(h):{4}}
{=(day):in(d):{4}}
{=(mont):in(M):{4}}
{=(week):in(w):{4}}
{=(yr):in(y):{4}}
{=(nodur):in({3}):warn ban kick}

{=(custom):{if({2}==custom):{if({in({3}):{allowedcustomcommands}}==true):{3}|error} {if({{nodur}}==true):|{if({in(custom):{4}}!=true):{any({{sec}}==true|{{min}}==true|{{hr}}==true|{{day}}==true|{{week}}==true|{{yr}}==true|{{mont}}==true):{4}|error}|}} {if({{nodur}}==true):{args(4+)}|{if({5}!=):{args(5+)}|error}}|}}

{=(punishment):{if({2}==custom):{custom(1)}|{{punish}(1):~}}}

{=(duration):{if({2}==custom):{custom(2)}|{{punish}(2):~}}}

{=(reason):{if({2}==custom):{custom(3+)}|{{punish}(3):~}}}


{=(help):Mod command help:
Format: `?mod (offender*) (punishment) [punishment**] [duration**] [reason**]`
Current punishment: custom ({join(, ):{allowedcustomcommands}}), {replace(~,, ):{punishlist}}

*: Must use mention
**: Custom command only
}

{=(error):{math:trunc({index(error):{offender} {punishment} {duration} {reason}}+1)}}
{=(errormessage):offender~punishment~duration~reason}

{c:{if({1}==help):echo {help}|{if({error}>0):echo There was a problem in {errormessage({error}):~}. Please use `?mod help`|{punishment} {offender} {duration} {reason}}}}

{=(comment):**Testing info, delete later.**
Punishment: {punishment}
Offender: {offender}
Duration: {duration}
Reason: {reason}
Custom: {custom}
Command: `{args}`}
Raw JSON
{
  "id": 570623,
  "created_at": "2021-01-30T21:39:29.000Z",
  "tag_name": "mod",
  "nsfw": false,
  "owner_id": "254732359704903681",
  "uses": 163,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "711982014479466516",
  "sharer": "254732359704903681",
  "content": "{=(comment): Edit stuff here}\n{=(moderationrole):739273530373570620}\n\n{=(comment): note, you should put them all like so, add or remove any you want.}\n{=(allowedcustomcommands):warn ban mute tempmute kick tempban}\n{=(punishlist):spam~drama~ping~}\n\n{=(punish):{if({in({2}):{replace(~, ):{punishlist}}}==true):{lower:{2}}|null}}\n{=({punish}):error}\n\n{=(comment):You are allowed to touch this}\n{=(template):[punishment]~[duration]~[reason]}\n{=(spam):warn~~Spamming in {channel}}\n{=(drama):mute~12h~Causing drama}\n{=(ping):mute~12h~Pinging people}\n\n\n{require(You are not a moderator!):{moderationrole}}\n\n{=(offender):{if({args(1)}==help):none|{any({target}=={user}|{target}==):error|{args(1)}}}}\n\n{=(sec):in(s):{4}}\n{=(min):in(m):{4}}\n{=(hr):in(h):{4}}\n{=(day):in(d):{4}}\n{=(mont):in(M):{4}}\n{=(week):in(w):{4}}\n{=(yr):in(y):{4}}\n{=(nodur):in({3}):warn ban kick}\n\n{=(custom):{if({2}==custom):{if({in({3}):{allowedcustomcommands}}==true):{3}|error} {if({{nodur}}==true):|{if({in(custom):{4}}!=true):{any({{sec}}==true|{{min}}==true|{{hr}}==true|{{day}}==true|{{week}}==true|{{yr}}==true|{{mont}}==true):{4}|error}|}} {if({{nodur}}==true):{args(4+)}|{if({5}!=):{args(5+)}|error}}|}}\n\n{=(punishment):{if({2}==custom):{custom(1)}|{{punish}(1):~}}}\n\n{=(duration):{if({2}==custom):{custom(2)}|{{punish}(2):~}}}\n\n{=(reason):{if({2}==custom):{custom(3+)}|{{punish}(3):~}}}\n\n\n{=(help):Mod command help:\nFormat: `?mod (offender*) (punishment) [punishment**] [duration**] [reason**]`\nCurrent punishment: custom ({join(, ):{allowedcustomcommands}}), {replace(~,, ):{punishlist}}\n\n*: Must use mention\n**: Custom command only\n}\n\n{=(error):{math:trunc({index(error):{offender} {punishment} {duration} {reason}}+1)}}\n{=(errormessage):offender~punishment~duration~reason}\n\n{c:{if({1}==help):echo {help}|{if({error}>0):echo There was a problem in {errormessage({error}):~}. Please use `?mod help`|{punishment} {offender} {duration} {reason}}}}\n\n{=(comment):**Testing info, delete later.**\nPunishment: {punishment}\nOffender: {offender}\nDuration: {duration}\nReason: {reason}\nCustom: {custom}\nCommand: `{args}`}",
  "embed": "{}",
  "last_fetched": "2026-10-21T00:02:05.669Z"
}