feat(Client): add support for INVITE_CREATE and INVITE_DELETE events (#3720)

* Add support for new Invite events

* Merge typings for events

Co-Authored-By: Sugden <leoaustin675@gmail.com>

* Add warning about requiring permissions

* Null check channel and guild

* fix: .guilds not .channels
This commit is contained in:
BorgerKing
2020-01-24 10:38:26 -05:00
committed by SpaceEEC
parent c779fe3670
commit 929ff9ccd0
7 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
'use strict';
module.exports = (client, packet) => {
client.actions.InviteCreate.handle(packet.d);
};

View File

@@ -0,0 +1,5 @@
'use strict';
module.exports = (client, packet) => {
client.actions.InviteDelete.handle(packet.d);
};