Skip to main content

GuildManager

Guild related endpoints

Hierarchy

Index

Constructors

Methods

Constructors

publicconstructor

Methods

publicfetch

  • fetch(identifier: string, type: id | name | player): Promise<null | Guild>
  • Fetch a guild by the guild id, or its name, or a player's guild by providing their uuid


    Parameters

    • identifier: string

      The id/name of the guild or the uuid of the player

    • type: id | name | player

      The type of identifier you're passing (id/name of guild, player uuid)

    Returns Promise<null | Guild>