$roleName
$roleName
will return the name of a specific role.
Usage
$roleName[roleID;guildID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
roleID | number | The role ID of which you want the role name to be returned of. | true |
guildID? | number | The guild ID. | false |
Example(s)
This will return the role name of any role you may like, in this case, It would return @everyone
:
1client.command({2 name: "roleName",3 code: `4 \`$roleName[$guildID]\`5 `6});