Represents a server role on Guilded.
new ServerRole(server, rawRole);
The server the role belongs to.
The raw data of the role.
Optional
Whether to cache the server role.
Readonly
Whether the role is cached.
Award XP to the role.
role.awardXp(100);
The amount of XP to award to the role.
Represents a server role on Guilded.
Example