mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Added Client#status and Message#type typedefs (#1571)
* typedef for MessageTypes and linked Client#status to Status * should be singular * typedef for Voiceconnection#status
This commit is contained in:
@@ -329,6 +329,18 @@ exports.WSEvents = {
|
||||
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 = [
|
||||
'DEFAULT',
|
||||
'RECIPIENT_ADD',
|
||||
|
||||
Reference in New Issue
Block a user