Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlayerStore<T>

Represents a collection of players.

Type parameters

Hierarchy

  • Map<string, Player<T>>
    • PlayerStore

Index

Constructors

Properties

Methods

Constructors

Properties

node: T

The Node or ClusterNode that created this store.

Methods

  • Gets an existing player, creating a new one if none was found.

    Parameters

    • key: string

      The guild's ID to get a player from.

    Returns Player<T>

Generated using TypeDoc