its brokenn
This commit is contained in:
parent
1d90965162
commit
bfb0eb561d
2 changed files with 2 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
class Ready {
|
class Ready {
|
||||||
constructor () {
|
constructor (wsEvent) {
|
||||||
this.wsEvent;
|
this.wsEvent = wsEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
async run (client) {
|
async run (client) {
|
||||||
|
|
|
@ -5,17 +5,6 @@ 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