change

Premium Tag: This tag warns and kicks a target for a pfp, name, or status that breaks your server's set of rules or Discord's TOS, and reminds the user to check back on that target in 24 hours. Features templated warn and kick reasons, and automatic link naming if a link is included in the args past the "flag". Since link naming is automatic, it's recommended this be used in conjunction with Carl-bot's custom embedded moderation DMs. Flags are name, pfp, or status.

Privateunrated

Content

30 lines
{=(opt):name pfp status}
{=():}
{=(flag):{if({contains({lower:{2}}):{opt}}==true):{lower:{2}}}}
{=(culprit):{if({target(id)}=={user(id)}):{1}|{target(id)}}}
{=(rgs):{args({if({flag}==):2|3}+)}}
{=(linkindex):{index(http):{replace(http,. http .):{rgs}}}}
{=(extra): {if({rgs}!=):{if({linkindex}!=-1):([{if({linkindex}==1):link|{rgs(+{m:trunc({linkindex}-1)})}}]({rgs({linkindex})}){if({rgs({m:trunc({linkindex}+1)}+)}!=): {rgs({m:trunc({linkindex}+1)}+)}}) |({rgs}) }}}
{=(ForL):{if({flag}!=):{flag}|{join(/):{opt}}}}

{=(rulesTOS):is against {server}'s rules and/or [Discord's ToS](https://discordapp.com/terms).}
{=(phrase): Should you wish to return to {server}, you must change or remove it. Thank you in advance for your understanding and cooperation.}

{=(pfp):profile picture's content{extra}is either inappropriate, offensive, or {rulesTOS}{phrase}}
{=(name):name contains a blacklisted word{extra}that {rulesTOS}{phrase}}
{=(status):status contains an advertisement or inappropriate content{extra}that {rulesTOS}{phrase}}
{=(dmReason):name/status/profile picture{extra}{rulesTOS}{phrase}}

{=(dmReason):Your {if({flag}==):{dmReason}|{{flag}}}}
{=(modlogReason):User was kicked for a {ForL} that {rulesTOS}}

{=(errorCmd):echo Please provide a user to warn and kick!}
{=(warnCmd):warn {culprit} {dmReason}}
{=(kickCmd):kick {culprit} {modlogReason}}
{=(rmCmd):rm 24h \`-i {culprit}\` re-check {ForL}}

{c:{if({culprit}!=):{warnCmd}|{errorCmd}}}
{{if({culprit}!=):c:{kickCmd}}}
{{if({culprit}!=):c:{rmCmd}}}

{require(You're not a mod):209797471608635392}
Raw JSON
{
  "id": 103621,
  "created_at": "2020-01-02T06:25:33.000Z",
  "tag_name": "change",
  "nsfw": false,
  "owner_id": "129419437911572480",
  "uses": 63,
  "description": "Premium Tag: This tag warns and kicks a target for a pfp, name, or status that breaks your server's set of rules or Discord's TOS, and reminds the user to check back on that target in 24 hours. Features templated warn and kick reasons, and automatic link naming if a link is included in the args past the \"flag\". Since link naming is automatic, it's recommended this be used in conjunction with Carl-bot's custom embedded moderation DMs.\n\nFlags are name, pfp, or status.",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "186980582863929345",
  "sharer": "129419437911572480",
  "content": "{=(opt):name pfp status}\n{=():}\n{=(flag):{if({contains({lower:{2}}):{opt}}==true):{lower:{2}}}}\n{=(culprit):{if({target(id)}=={user(id)}):{1}|{target(id)}}}\n{=(rgs):{args({if({flag}==):2|3}+)}}\n{=(linkindex):{index(http):{replace(http,. http .):{rgs}}}}\n{=(extra): {if({rgs}!=):{if({linkindex}!=-1):([{if({linkindex}==1):link|{rgs(+{m:trunc({linkindex}-1)})}}]({rgs({linkindex})}){if({rgs({m:trunc({linkindex}+1)}+)}!=): {rgs({m:trunc({linkindex}+1)}+)}}) |({rgs}) }}}\n{=(ForL):{if({flag}!=):{flag}|{join(/):{opt}}}}\n\n{=(rulesTOS):is against {server}'s rules and/or [Discord's ToS](https://discordapp.com/terms).}\n{=(phrase): Should you wish to return to {server}, you must change or remove it. Thank you in advance for your understanding and cooperation.}\n\n{=(pfp):profile picture's content{extra}is either inappropriate, offensive, or {rulesTOS}{phrase}}\n{=(name):name contains a blacklisted word{extra}that {rulesTOS}{phrase}}\n{=(status):status contains an advertisement or inappropriate content{extra}that {rulesTOS}{phrase}}\n{=(dmReason):name/status/profile picture{extra}{rulesTOS}{phrase}}\n\n{=(dmReason):Your {if({flag}==):{dmReason}|{{flag}}}}\n{=(modlogReason):User was kicked for a {ForL} that {rulesTOS}}\n\n{=(errorCmd):echo Please provide a user to warn and kick!}\n{=(warnCmd):warn {culprit} {dmReason}}\n{=(kickCmd):kick {culprit} {modlogReason}}\n{=(rmCmd):rm 24h \\`-i {culprit}\\` re-check {ForL}}\n\n{c:{if({culprit}!=):{warnCmd}|{errorCmd}}}\n{{if({culprit}!=):c:{kickCmd}}}\n{{if({culprit}!=):c:{rmCmd}}}\n\n{require(You're not a mod):209797471608635392}",
  "embed": "{}",
  "last_fetched": "2026-10-20T20:49:42.580Z"
}