No summary provided.
Extends
AsyncEventEmitter<ManagerShardEventsMap>constructor({ rest, gateway })
Constructs a new instance of the
Client
className | Type | Optional | Description |
---|---|---|---|
{ rest, gateway } | ClientOptions | No | None |
Requests guild members from the gateway.
Name | Type | Optional | Description |
---|---|---|---|
options | GatewayRequestGuildMembersData | No | The options for the request |
timeout | number | Yes | The timeout for waiting for each guild members chunk event |
Updates the presence of the bot user
Name | Type | Optional | Description |
---|---|---|---|
shardId | number | No | The id of the shard to update the presence in |
options | GatewayPresenceUpdateData | No | The options for updating the presence |
Updates the voice state of the bot user
Name | Type | Optional | Description |
---|---|---|---|
options | GatewayVoiceStateUpdateData | No | The options for updating the voice state |