mod2

Private

Content

67 lines
{=():}
{=(prefix):!}

{=(arg):{{if(101>{index(&£):{replace(, ):{args(+3)}} &£}):args}}}
{=(args1):{urlencode:{lower:{arg(1)}}}}
{=(args2):{lower:{list(1):{join(~):{arg(+2)}}}}}
{=(args3):{urlencode:{lower:{list(2):{join(~):{arg(+3)}}}}}}

{=(COMMENT):Available Mod Commands.}
{=(av.Cmd):warn kick ban mute}

{=(COMMENT):------Shortened Reasons Keywords------}
{=(av.Reasons):ad art copy dm dmad fanart fr lang nsfw obv ping res sc scam spam forum}
{=(av.Roles):eng fan rules rule sug ne noneng}

{=(COMMENT):------Reasons------}
{=(ad):Sent an advertising link. Self promotion is banned within CBH, whether it's a Discord server or a third-party URL. If you feel this ban was made in error or that your account has been hacked, please appeal using the attached form.}
{=(art):Stealing and posting art in <#524309734770343965> that is not theirs.}
{=(copy):Posting copypasta.}
{=(dm):DMing to get help or things that could be done in the server.}
{=(dmad):In DMs: {ad}}
{=(fanart):{art}}
{=(fr):Do not friend request mods or members without permission. We are not your personal support. Use the provided support channels.}
{=(lang):Posting foul language, or sending images or links with foul language.}
{=(nsfw):Posting NSFW content or links.}
{=(obv):Obvious troll.}
{=(ping):Pinging mods or members for something that doesn't require instant moderation action.}
{=(res):Not following the behavior expected in our mute appeal channel's process.}
{=(sc):Using one-letter messages, which is considered as shitpost and spam here.}
{=(scam):Scam attempt. If you feel this ban was made in error or that your account has been hacked, please appeal using the attached form.}
{=(spam):Spamming.}
{=(forum):Not adhering to forum guidelines.}

{=(COMMENT):------Roles------}
{=(fan):708280050776014908}
{=(rule):646086450089295872}
{=(rules):{rule}}
{=(sug):668927047107608581}
{=(ne):716908671497666580}
{=(noneng):{ne}}
{=(eng):{ne}}

{=(isCmd):{contains({args1}):{av.Cmd}} {contains({args3}):{av.Reasons}}}
{=(isRole):{contains(role):{args1}} {contains({args3}):{av.Roles}}}
{=(useCmd):{in(true true):{isCmd}}}
{=(useRole):{in(true true):{isRole}}}
{=(error.len):{if(3>{index(&£):{arg(+3)} &£}):true|false}}
{=(error.cmd):{if(false=={in(true):{isCmd(1)} {isRole(1)}}):true|false}}
{=(error.reason):{if(false=={in(true):{isCmd(2)} {isRole(2)}}):true|false}}

{=(COMMENT):------Outputs------}
{=(msg.Error):{if(true=={error.len}):Not enough arguments.|{if(true=={error.cmd}):You're trying to execute a mod command that doesn't exist.|{if(true=={error.reason}):The shortened reason specified doesn't exist.|{if(true=={isRole(1)}):That role does not exist.}}}}
Available Reasons:
`{join(`, `):{av.Reasons}}`
Available Roles:
`{join(`, `):{av.Roles}}`
```css
{prefix}mod [{join(/):{av.Cmd}}/role] [user mention or ID] [reason keyword] (optional additional reason/note)```}

{=(role.em):c:cembed 456632080671965184 {"timestamp":"{strf:%FT%T}.000Z","title":"custom mute assigned","description":"**Offender:** {if({target(id)}=={user(id)}):<@{args2}>|{target(proper)} {target(mention)}}\n**Role Added:** <@&{{args3}}>\n**Duration:** {arg(4+)}\n**Responsible moderator:** {user(proper)}","color":16025922,"footer":{"text":"ID: {replace(<@,):{replace(!,):{replace(>,):{args2}}}}"}}}

{=(showReason):{if(true=={contains({args1}):warn kick ban}):Reason: {{args3}} {arg(4+)}}}
{=(execute):{if(true=={useCmd}):c:~args1~args2~args3~arg(4+)~showReason}{if(true=={useRole}):c:temp~args1~args2~args3~arg(4+)~~role.em}}
{if(!={execute}):{{list(0):{execute}}{{list(1):{execute}}} {{list(2):{execute}}} {{{list(3):{execute}}}} {{list(4):{execute}}}}}
{{list(5):{execute}}}
{{{list(6):{execute}}}}
{{all(false=={useCmd}|false=={useRole}):msg.Error}}
Raw JSON
{
  "id": 2083476,
  "created_at": "2024-08-09T22:28:44.000Z",
  "tag_name": "mod2",
  "nsfw": false,
  "owner_id": "602615705015156736",
  "uses": 42,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1039570200544170025",
  "sharer": "602615705015156736",
  "content": "{=():}\n{=(prefix):!}\n\n{=(arg):{{if(101>{index(&£):{replace(, ):{args(+3)}} &£}):args}}}\n{=(args1):{urlencode:{lower:{arg(1)}}}}\n{=(args2):{lower:{list(1):{join(~):{arg(+2)}}}}}\n{=(args3):{urlencode:{lower:{list(2):{join(~):{arg(+3)}}}}}}\n\n{=(COMMENT):Available Mod Commands.}\n{=(av.Cmd):warn kick ban mute}\n\n{=(COMMENT):------Shortened Reasons Keywords------}\n{=(av.Reasons):ad art copy dm dmad fanart fr lang nsfw obv ping res sc scam spam forum}\n{=(av.Roles):eng fan rules rule sug ne noneng}\n\n{=(COMMENT):------Reasons------}\n{=(ad):Sent an advertising link. Self promotion is banned within CBH, whether it's a Discord server or a third-party URL. If you feel this ban was made in error or that your account has been hacked, please appeal using the attached form.}\n{=(art):Stealing and posting art in <#524309734770343965> that is not theirs.}\n{=(copy):Posting copypasta.}\n{=(dm):DMing to get help or things that could be done in the server.}\n{=(dmad):In DMs: {ad}}\n{=(fanart):{art}}\n{=(fr):Do not friend request mods or members without permission. We are not your personal support. Use the provided support channels.}\n{=(lang):Posting foul language, or sending images or links with foul language.}\n{=(nsfw):Posting NSFW content or links.}\n{=(obv):Obvious troll.}\n{=(ping):Pinging mods or members for something that doesn't require instant moderation action.}\n{=(res):Not following the behavior expected in our mute appeal channel's process.}\n{=(sc):Using one-letter messages, which is considered as shitpost and spam here.}\n{=(scam):Scam attempt. If you feel this ban was made in error or that your account has been hacked, please appeal using the attached form.}\n{=(spam):Spamming.}\n{=(forum):Not adhering to forum guidelines.}\n\n{=(COMMENT):------Roles------}\n{=(fan):708280050776014908}\n{=(rule):646086450089295872}\n{=(rules):{rule}}\n{=(sug):668927047107608581}\n{=(ne):716908671497666580}\n{=(noneng):{ne}}\n{=(eng):{ne}}\n\n{=(isCmd):{contains({args1}):{av.Cmd}} {contains({args3}):{av.Reasons}}}\n{=(isRole):{contains(role):{args1}} {contains({args3}):{av.Roles}}}\n{=(useCmd):{in(true true):{isCmd}}}\n{=(useRole):{in(true true):{isRole}}}\n{=(error.len):{if(3>{index(&£):{arg(+3)} &£}):true|false}}\n{=(error.cmd):{if(false=={in(true):{isCmd(1)} {isRole(1)}}):true|false}}\n{=(error.reason):{if(false=={in(true):{isCmd(2)} {isRole(2)}}):true|false}}\n\n{=(COMMENT):------Outputs------}\n{=(msg.Error):{if(true=={error.len}):Not enough arguments.|{if(true=={error.cmd}):You're trying to execute a mod command that doesn't exist.|{if(true=={error.reason}):The shortened reason specified doesn't exist.|{if(true=={isRole(1)}):That role does not exist.}}}}\nAvailable Reasons:\n`{join(`, `):{av.Reasons}}`\nAvailable Roles:\n`{join(`, `):{av.Roles}}`\n```css\n{prefix}mod [{join(/):{av.Cmd}}/role] [user mention or ID] [reason keyword] (optional additional reason/note)```}\n\n{=(role.em):c:cembed 456632080671965184 {\"timestamp\":\"{strf:%FT%T}.000Z\",\"title\":\"custom mute assigned\",\"description\":\"**Offender:** {if({target(id)}=={user(id)}):<@{args2}>|{target(proper)} {target(mention)}}\\n**Role Added:** <@&{{args3}}>\\n**Duration:** {arg(4+)}\\n**Responsible moderator:** {user(proper)}\",\"color\":16025922,\"footer\":{\"text\":\"ID: {replace(<@,):{replace(!,):{replace(>,):{args2}}}}\"}}}\n\n{=(showReason):{if(true=={contains({args1}):warn kick ban}):Reason: {{args3}} {arg(4+)}}}\n{=(execute):{if(true=={useCmd}):c:~args1~args2~args3~arg(4+)~showReason}{if(true=={useRole}):c:temp~args1~args2~args3~arg(4+)~~role.em}}\n{if(!={execute}):{{list(0):{execute}}{{list(1):{execute}}} {{list(2):{execute}}} {{{list(3):{execute}}}} {{list(4):{execute}}}}}\n{{list(5):{execute}}}\n{{{list(6):{execute}}}}\n{{all(false=={useCmd}|false=={useRole}):msg.Error}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T19:42:36.283Z"
}