hasrole

Privateunrated

Content

6 lines
{=(error):{if({list(0):{join(,):{args}}}==):yes|no}}

{=():}
{break({lower:{args}}==help):}

{{all({error}==no|{lower:{args}}!=help):{if({in(--format):{args}}==true):c:dump -f {replace(%p,%u):{replace(%proper,%u):{replace(%name,%n):{replace(%id,%i):{replace(%ID,%i):{replace(%created_at,%c):{replace(%joined_at,%j):{args(2+):--format }}}}}}}} -o joined_at -r "{args(1): --format}"|c:dump -f **%n** (%u - `%i`) -o joined_at -r "{args}"}}}

Embed

1 line
{"color": 8963308, "thumbnail": {"url": "{any({lower:{args}}==help|{error}==yes):|hello}"}, "description": "{any({lower:{args}}==help|{error}==yes):**Usage: `/hasrole <role> [--format <format>]`**\n\n**You may simply use `/hasrole <role>` which outputs:**\n**Carl-bot** (Carl-bot#1536 - `235148962103951360`)\n\n**Or you may make your own format:**\n- `%proper` or `%p` is a full name, example: Carl-bot#1536\n- `%name` or `%n` is the member's display name (nick if it exists otherwise username)\n- `%id` or `%i` is their ID\n- `%created_at` or `%c` is the account creation date\n- `%joined_at` or `%j` is when they joined the server\n**Example:** `/hasrole carl-bot --format **%proper** (ID: *%id*)` **outputs:**\n**Carl-bot#1536** - (ID: *235148962103951360*)|}"}
Raw JSON
{
  "id": 193035,
  "created_at": "2022-04-26T10:36:15.129Z",
  "tag_name": "hasrole",
  "nsfw": false,
  "owner_id": "680178137090359319",
  "uses": 135,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "704896281348407356",
  "sharer": "680178137090359319",
  "content": "{=(error):{if({list(0):{join(,):{args}}}==):yes|no}}\n\n{=():}\n{break({lower:{args}}==help):}\n\n{{all({error}==no|{lower:{args}}!=help):{if({in(--format):{args}}==true):c:dump -f {replace(%p,%u):{replace(%proper,%u):{replace(%name,%n):{replace(%id,%i):{replace(%ID,%i):{replace(%created_at,%c):{replace(%joined_at,%j):{args(2+):--format }}}}}}}} -o joined_at -r \"{args(1): --format}\"|c:dump -f **%n** (%u - `%i`) -o joined_at -r \"{args}\"}}}",
  "embed": "{\"color\": 8963308, \"thumbnail\": {\"url\": \"{any({lower:{args}}==help|{error}==yes):|hello}\"}, \"description\": \"{any({lower:{args}}==help|{error}==yes):**Usage: `/hasrole <role> [--format <format>]`**\\n\\n**You may simply use `/hasrole <role>` which outputs:**\\n**Carl-bot** (Carl-bot#1536 - `235148962103951360`)\\n\\n**Or you may make your own format:**\\n- `%proper` or `%p` is a full name, example: Carl-bot#1536\\n- `%name` or `%n` is the member's display name (nick if it exists otherwise username)\\n- `%id` or `%i` is their ID\\n- `%created_at` or `%c` is the account creation date\\n- `%joined_at` or `%j` is when they joined the server\\n**Example:** `/hasrole carl-bot --format **%proper** (ID: *%id*)` **outputs:**\\n**Carl-bot#1536** - (ID: *235148962103951360*)|}\"}",
  "last_fetched": "2026-10-20T21:32:34.891Z"
}