Skip to content

GuildRoleManager

A class representing a manager for guild roles.

Kind: global class
Extends: RoleManager

Constructs a new instance of the class.

ParamTypeDescription
guildIdstringThe ID of the guild.
clientClientThe client object.

Get the highest role from the cache based on position.

Kind: instance property of GuildRoleManager
Returns: The highest role object.

Get the cached data for everyone in the guild.

Kind: instance property of GuildRoleManager
Returns: The cached data for everyone in the guild.

Retrieves the cache for the current guild.

Kind: instance property of GuildRoleManager
Returns: Array - - The filtered cache objects for the current guild.