$modifyRole
$modifyRole
will modify a given role.
Usage
$modifyRole[guildID;roleID;...data]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID of where the role is located in. | true |
roleID | number | The role ID to modify. | true |
…data | string, object | New role data. | true |
Example(s)
This will edit an existing role / change its name to “Awesome!”:
1client.command({2 name: "modifyRole",3 code: `4 $modifyRole[$guildID;roleID;{5 "name": "Awesome!"6 }]7 `8});