Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoleManager

Manages API methods for Roles

Hierarchy

  • RoleManager

Index

Constructors

Properties

client: Client

The Client that instantiated this Manager

guild: Guild

The Guild belonging to this manager

Accessors

  • A manager of the roles belonging to this guild

    Returns Collection<string, Role>

  • get everyone(): undefined | Role
  • The @everyone role of the guild

    Returns undefined | Role

  • get highest(): undefined | Role
  • The role with the highest position in the cache

    Returns undefined | Role

  • get premiumSubscriberRole(): null | Role
  • The premium subscriber role of the guild, if any

    Returns null | Role

Methods

  • Updates or caches a Role with the provided APIRole data

    Parameters

    Returns Role

Generated using TypeDoc version 0.22.16, the 9/16/2022 at 1:09:15 AM