rolecreate

Basic code to let members create their own roles

Privateunrated

Content

6 lines
{=(rolename):{args(1)}}
{=(rolecolor):{args(2)}}
{silence}
{embed(color):#{args(2)}}
{c:role create {args(1)} {args(2)} true false}
{delete}

Embed

1 line
{"color": 5198940, "description": "{break({args}==): No arguments! Syntax is `!rolecreate <name> <hexcolor>`}\n\n{break({args(3+)}!=): Check your syntax, you've got too many arguments!}\n\n{if({args(2+)}!=):Successfully created @{rolename}! To add it to yourself, type `!roleadd @{rolename}`!}"}
Raw JSON
{
  "id": 318501,
  "created_at": "2020-09-05T04:28:37.000Z",
  "tag_name": "rolecreate",
  "nsfw": false,
  "owner_id": "162515796403290112",
  "uses": 23,
  "description": "Basic code to let members create their own roles",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "162516607095144448",
  "sharer": "162515796403290112",
  "content": "{=(rolename):{args(1)}}\n{=(rolecolor):{args(2)}}\n{silence}\n{embed(color):#{args(2)}}\n{c:role create {args(1)} {args(2)} true false}\n{delete}",
  "embed": "{\"color\": 5198940, \"description\": \"{break({args}==): No arguments! Syntax is `!rolecreate <name> <hexcolor>`}\\n\\n{break({args(3+)}!=): Check your syntax, you've got too many arguments!}\\n\\n{if({args(2+)}!=):Successfully created @{rolename}! To add it to yourself, type `!roleadd @{rolename}`!}\"}",
  "last_fetched": "2026-10-20T22:25:38.073Z"
}