export declare class Client extends AsyncEventEmitter<ManagerShardEventsMap>

Constructors

constructor(
{ rest, gateway }: ClientOptions
)

Constructs a new instance of the Client class

readonly
api : API

readonly
gateway : Gateway

readonly
rest : REST

updatePresence() : Promise<void>

Updates the presence of the bot user

updateVoiceState() : Promise<void>

Updates the voice state of the bot user

See also: https://discord.com/developers/docs/topics/gateway-events#update-voice-state