mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
refactor: guildAvailable, typingStop from Constants (#4861)
Both of these events no longer exist and should not be exposed in Constants. Typings have been adjusted to correspond to Constants.Events.
This commit is contained in:
@@ -258,7 +258,6 @@ exports.Events = {
|
||||
GUILD_DELETE: 'guildDelete',
|
||||
GUILD_UPDATE: 'guildUpdate',
|
||||
GUILD_UNAVAILABLE: 'guildUnavailable',
|
||||
GUILD_AVAILABLE: 'guildAvailable',
|
||||
GUILD_MEMBER_ADD: 'guildMemberAdd',
|
||||
GUILD_MEMBER_REMOVE: 'guildMemberRemove',
|
||||
GUILD_MEMBER_UPDATE: 'guildMemberUpdate',
|
||||
@@ -295,7 +294,6 @@ exports.Events = {
|
||||
VOICE_BROADCAST_SUBSCRIBE: 'subscribe',
|
||||
VOICE_BROADCAST_UNSUBSCRIBE: 'unsubscribe',
|
||||
TYPING_START: 'typingStart',
|
||||
TYPING_STOP: 'typingStop',
|
||||
WEBHOOKS_UPDATE: 'webhookUpdate',
|
||||
INTERACTION_CREATE: 'interaction',
|
||||
ERROR: 'error',
|
||||
|
||||
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -553,7 +553,6 @@ declare module 'discord.js' {
|
||||
RATE_LIMIT: 'rateLimit';
|
||||
INVALID_REQUEST_WARNING: 'invalidRequestWarning';
|
||||
CLIENT_READY: 'ready';
|
||||
RESUMED: 'resumed';
|
||||
APPLICATION_COMMAND_CREATE: 'applicationCommandCreate';
|
||||
APPLICATION_COMMAND_DELETE: 'applicationCommandDelete';
|
||||
APPLICATION_COMMAND_UPDATE: 'applicationCommandUpdate';
|
||||
@@ -589,15 +588,16 @@ declare module 'discord.js' {
|
||||
MESSAGE_REACTION_ADD: 'messageReactionAdd';
|
||||
MESSAGE_REACTION_REMOVE: 'messageReactionRemove';
|
||||
MESSAGE_REACTION_REMOVE_ALL: 'messageReactionRemoveAll';
|
||||
MESSAGE_REACTION_REMOVE_EMOJI: 'messageReactionRemoveEmoji';
|
||||
USER_UPDATE: 'userUpdate';
|
||||
PRESENCE_UPDATE: 'presenceUpdate';
|
||||
VOICE_SERVER_UPDATE: 'voiceServerUpdate';
|
||||
VOICE_STATE_UPDATE: 'voiceStateUpdate';
|
||||
VOICE_BROADCAST_SUBSCRIBE: 'subscribe';
|
||||
VOICE_BROADCAST_UNSUBSCRIBE: 'unsubscribe';
|
||||
TYPING_START: 'typingStart';
|
||||
WEBHOOKS_UPDATE: 'webhookUpdate';
|
||||
INTERACTION_CREATE: 'interaction';
|
||||
RECONNECTING: 'reconnecting';
|
||||
ERROR: 'error';
|
||||
WARN: 'warn';
|
||||
DEBUG: 'debug';
|
||||
|
||||
Reference in New Issue
Block a user