note
This commit is contained in:
parent
4769669d12
commit
14bd0ab8e3
1 changed files with 11 additions and 0 deletions
|
@ -5,6 +5,17 @@ class EventHandler {
|
||||||
this.client = client;
|
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) {
|
handle (wsEvent, param_1, param_2) {
|
||||||
switch (wsEvent) {
|
switch (wsEvent) {
|
||||||
case 'ready': {
|
case 'ready': {
|
||||||
|
|
Loading…
Reference in a new issue