fakemod

Privateunrated

Content

42 lines
{=(COMMENT):Please rename this tag to whatever fake moderator command you are running with it.}
{=(COMMENT):Please specify the type of fake moderator command you would like to run. Accepted inputs are "kick" "ban" "mute" and "warn." If it's something else then it will be automatically set to ban.}
{=(type):ban}

{=(COMMENT):Set immune user IDs, separated by a space.}
{=(immune):734516789396111421 768234833251139584}

{=(COMMENT):Set immune role id, only one allowed. If the mentioned user is in this role it will output an error message.}
{=(ir):73462525358118936}

{=(COMMENT):Determine if the tag will respect role hierarchy. Set to true or false.}
{=(respect):true}

{=(COMMENT):Determine if the tag will delete the invocation.}
{=(d):true}

{=(COMMENT):Set your server's Carl-bot prefix.}
{=(p):-}

{=(COMMENT):Please do not touch the script from now on.}
{=():}
{{if({d}==true):del}}
{=(reason):{if({args(2)}=={args}:None|{args(2+)}}}
{=(error):{if({type}==kick):```
{p}kick <member> [reason]
      ^^^^^^^^
member is a required argument that is missing.
```|{if({type}==mute):```
{p}mute <member> [duration]
      ^^^^^^^^
member is a required argument that is missing.
```|{if({type}==warn):```
{p}warn <member> [reason]
      ^^^^^^^^
member is a required argument that is missing.
```|```
{p}ban <member> [delete_days] [reason]
     ^^^^^^^^
member is a required argument that is missing.
```}}}}
{=(success):{if({type}==warn):**{target(proper)}** has been warned, this is their 69th warning.|{if({type}==mute):**{user(proper)}** muted **{target(proper)}** indefinitely. Reason: {reason}.|{if({type}==kick):Kicked **{target(proper)}**.|Banned **{target(proper)}**}}}}
{if({user(id)}=={target(id)}):{error}|{if({respect}==true):{any({user(position)}=={target(position)}|{user(position)}<{target(position)}):You cannot perform this action due to role hierarchy.|{any({contains({target(id)}):{immune}}==true|{contains({ir}):{target(roleids)}}==true):I am not high enough in the role hierarchy to do that.|{success}}}}}
Raw JSON
{
  "id": 1434529,
  "created_at": "2022-06-07T01:33:09.000Z",
  "tag_name": "fakemod",
  "nsfw": false,
  "owner_id": "734516789396111421",
  "uses": 14,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "917134829454233660",
  "sharer": "734516789396111421",
  "content": "{=(COMMENT):Please rename this tag to whatever fake moderator command you are running with it.}\n{=(COMMENT):Please specify the type of fake moderator command you would like to run. Accepted inputs are \"kick\" \"ban\" \"mute\" and \"warn.\" If it's something else then it will be automatically set to ban.}\n{=(type):ban}\n\n{=(COMMENT):Set immune user IDs, separated by a space.}\n{=(immune):734516789396111421 768234833251139584}\n\n{=(COMMENT):Set immune role id, only one allowed. If the mentioned user is in this role it will output an error message.}\n{=(ir):73462525358118936}\n\n{=(COMMENT):Determine if the tag will respect role hierarchy. Set to true or false.}\n{=(respect):true}\n\n{=(COMMENT):Determine if the tag will delete the invocation.}\n{=(d):true}\n\n{=(COMMENT):Set your server's Carl-bot prefix.}\n{=(p):-}\n\n{=(COMMENT):Please do not touch the script from now on.}\n{=():}\n{{if({d}==true):del}}\n{=(reason):{if({args(2)}=={args}:None|{args(2+)}}}\n{=(error):{if({type}==kick):```\n{p}kick <member> [reason]\n      ^^^^^^^^\nmember is a required argument that is missing.\n```|{if({type}==mute):```\n{p}mute <member> [duration]\n      ^^^^^^^^\nmember is a required argument that is missing.\n```|{if({type}==warn):```\n{p}warn <member> [reason]\n      ^^^^^^^^\nmember is a required argument that is missing.\n```|```\n{p}ban <member> [delete_days] [reason]\n     ^^^^^^^^\nmember is a required argument that is missing.\n```}}}}\n{=(success):{if({type}==warn):**{target(proper)}** has been warned, this is their 69th warning.|{if({type}==mute):**{user(proper)}** muted **{target(proper)}** indefinitely. Reason: {reason}.|{if({type}==kick):Kicked **{target(proper)}**.|Banned **{target(proper)}**}}}}\n{if({user(id)}=={target(id)}):{error}|{if({respect}==true):{any({user(position)}=={target(position)}|{user(position)}<{target(position)}):You cannot perform this action due to role hierarchy.|{any({contains({target(id)}):{immune}}==true|{contains({ir}):{target(roleids)}}==true):I am not high enough in the role hierarchy to do that.|{success}}}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T18:50:42.969Z"
}