Skip to content

Commit

Permalink
src: add missing events in constants (discordjs#3124)
Browse files Browse the repository at this point in the history
* src: Add missing events in constants

* fix: Restore 'use strict';
  • Loading branch information
kyranet authored and SpaceEEC committed Mar 5, 2019
1 parent 1207c24 commit 1327889
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ exports.Events = {
USER_NOTE_UPDATE: 'userNoteUpdate',
USER_SETTINGS_UPDATE: 'clientUserSettingsUpdate',
PRESENCE_UPDATE: 'presenceUpdate',
VOICE_SERVER_UPDATE: 'voiceServerUpdate',
VOICE_STATE_UPDATE: 'voiceStateUpdate',
VOICE_BROADCAST_SUBSCRIBE: 'subscribe',
VOICE_BROADCAST_UNSUBSCRIBE: 'unsubscribe',
Expand Down Expand Up @@ -316,6 +317,7 @@ exports.PartialTypes = keyMirror([
* * PRESENCE_UPDATE
* * VOICE_STATE_UPDATE
* * TYPING_START
* * VOICE_STATE_UPDATE
* * VOICE_SERVER_UPDATE
* * WEBHOOKS_UPDATE
* @typedef {string} WSEventType
Expand Down Expand Up @@ -352,6 +354,7 @@ exports.WSEvents = keyMirror([
'PRESENCE_UPDATE',
'VOICE_STATE_UPDATE',
'TYPING_START',
'VOICE_STATE_UPDATE',
'VOICE_SERVER_UPDATE',
'WEBHOOKS_UPDATE',
]);
Expand Down
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2146,6 +2146,7 @@ declare module 'discord.js' {
| 'PRESENCE_UPDATE'
| 'VOICE_STATE_UPDATE'
| 'TYPING_START'
| 'VOICE_STATE_UPDATE'
| 'VOICE_SERVER_UPDATE'
| 'WEBHOOKS_UPDATE';

Expand Down

0 comments on commit 1327889

Please sign in to comment.