Class Client

Hierarchy

Constructors

Properties

application: ClientApplication

The application manager of the client

channels: ChannelManager

The channel manager of the client

configGateway: GatewayConfig

The Gateway Configuration of the client

events: EventManager

The event manager of the client

gateway: GatewayConfig

The gateway of the ShardManager

guilds: GuildManager

The guild manager of the client

intents: number

The intents of the client

ping: number = 0

The client ping

presence: ClientPresence

The client presence manager

ready: number = 0

The timestamp when the client execute's the event "READY"

rest: REST

The REST of the client

shardManager: ShardManager

The shard manager of the client

token: string

The token of the client

The client user

users: UserManager

The user manager of the client

defaultMaxListeners: number

Methods

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns boolean

  • Type Parameters

    Returns U[]

  • Returns number

  • Parameters

    Returns number

  • Type Parameters

    Parameters

    • type: U

    Returns ClientEvents[U][]

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    • type: U

    Returns ClientEvents[U][]

  • Parameters

    • Optional event: keyof ClientEvents

    Returns this

  • Type Parameters

    Parameters

    Returns this

  • Parameters

    • n: number

    Returns this

Generated using TypeDoc