This commit is contained in:
Emily 2020-10-20 19:47:14 +11:00
parent 4769669d12
commit 14bd0ab8e3

View file

@ -5,6 +5,17 @@ class EventHandler {
this.client = client;
}
/**
* doesnt work because array
* Collection [Map] {
* [ 'ready.js', index: 6, input: 'ready/ready.js', groups: undefined ] => Ready {
* wsEvent: [ 'ready', index: 0, input: 'ready/ready.js', groups: undefined ]
* },
* baseObject: undefined,
* limit: undefined
* }
*/
handle (wsEvent, param_1, param_2) {
switch (wsEvent) {
case 'ready': {