mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
Webpack build for branch master: d6041f9fb3
This commit is contained in:
parent
c3d61f9a03
commit
571ab432e9
1 changed files with 14 additions and 2 deletions
|
|
@ -401,6 +401,18 @@ exports.WSEvents = {
|
||||||
RELATIONSHIP_REMOVE: 'RELATIONSHIP_REMOVE',
|
RELATIONSHIP_REMOVE: 'RELATIONSHIP_REMOVE',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The type of a message, e.g. `DEFAULT`. Here are the available types:
|
||||||
|
* - DEFAULT
|
||||||
|
* - RECIPIENT_ADD
|
||||||
|
* - RECIPIENT_REMOVE
|
||||||
|
* - CALL
|
||||||
|
* - CHANNEL_NAME_CHANGE
|
||||||
|
* - CHANNEL_ICON_CHANGE
|
||||||
|
* - PINS_ADD
|
||||||
|
* - GUILD_MEMBER_JOIN
|
||||||
|
* @typedef {string} MessageType
|
||||||
|
*/
|
||||||
exports.MessageTypes = [
|
exports.MessageTypes = [
|
||||||
'DEFAULT',
|
'DEFAULT',
|
||||||
'RECIPIENT_ADD',
|
'RECIPIENT_ADD',
|
||||||
|
|
@ -3471,7 +3483,7 @@ class Message {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the message
|
* The type of the message
|
||||||
* @type {string}
|
* @type {MessageType}
|
||||||
*/
|
*/
|
||||||
this.type = Constants.MessageTypes[data.type];
|
this.type = Constants.MessageTypes[data.type];
|
||||||
|
|
||||||
|
|
@ -17285,7 +17297,7 @@ class Client extends EventEmitter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Current status of the client's connection to Discord
|
* Current status of the client's connection to Discord
|
||||||
* @type {?number}
|
* @type {?Status}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get status() {
|
get status() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue