feat: handle and forward WEBHOOKS_UPDATE events (#2762)

* src: Handle WEBHOOK_UPDATE events

* Commit rename of 77'
Or adding the letter S

* I missed this

* Properly do this now
Typos everywhere

* Typings

* refactor: remove now unnecessary guild variable
This commit is contained in:
Frangu Vlad
2018-08-21 11:38:35 +03:00
committed by SpaceEEC
parent ab0ede0d5a
commit 0401b8ad77
4 changed files with 28 additions and 2 deletions

View File

@@ -249,6 +249,7 @@ exports.Events = {
VOICE_BROADCAST_UNSUBSCRIBE: 'unsubscribe',
TYPING_START: 'typingStart',
TYPING_STOP: 'typingStop',
WEBHOOKS_UPDATE: 'webhookUpdate',
DISCONNECT: 'disconnect',
RECONNECTING: 'reconnecting',
ERROR: 'error',
@@ -290,6 +291,7 @@ exports.Events = {
* * VOICE_STATE_UPDATE
* * TYPING_START
* * VOICE_SERVER_UPDATE
* * WEBHOOKS_UPDATE
* @typedef {string} WSEventType
*/
exports.WSEvents = keyMirror([
@@ -324,6 +326,7 @@ exports.WSEvents = keyMirror([
'VOICE_STATE_UPDATE',
'TYPING_START',
'VOICE_SERVER_UPDATE',
'WEBHOOKS_UPDATE',
]);
/**