Class Client
Inherits from
-
Object
(base class)
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
api
|
APIClient |
APIClient instance |
events
|
Emitter |
Emitter for gateway events
|
gw
|
GatewayClient |
GatewayClient instance |
log
|
std |
Base log
|
shardInfo
|
ShardInfo* |
Sharding configuration |
state
|
State |
State instance |
token
|
string |
Bot Authentication token
|
voiceConns
|
VoiceClient[ulong] |
Mapping of voice connections |
Properties
Name | Type | Description |
---|---|---|
me
[get]
|
User |
Returns the current user. |
Methods
Name | Description |
---|---|
deleteMessages
|
Deletes an array of message IDs for a given channel, properly bulking them if required. |
updateStatus
|