class Client
extends
AsyncEventEmitter<ManagerShardEventsMap>export declare class Client extends AsyncEventEmitter<ManagerShardEventsMap>
requestGuildMembersoptions: GatewayRequestGuildMembersDatatimeout?: number) : Promise<APIGuildMember[]> (
options: GatewayRequestGuildMembersData
timeout?: number
Requests guild members from the gateway.
See also: https://discord.com/developers/docs/topics/gateway-events#request-guild-members
updatePresenceshardId: numberoptions: GatewayPresenceUpdateData) : Promise<void> (
shardId: number
options: GatewayPresenceUpdateData
Updates the presence of the bot user
updateVoiceStateoptions: GatewayVoiceStateUpdateData) : Promise<void> (
options: GatewayVoiceStateUpdateData
Updates the voice state of the bot user
See also: https://discord.com/developers/docs/topics/gateway-events#update-voice-state