its brokenn

This commit is contained in:
Emily 2020-10-20 21:23:07 +11:00
parent 1d90965162
commit bfb0eb561d
2 changed files with 2 additions and 13 deletions

View file

@ -1,6 +1,6 @@
class Ready {
constructor () {
this.wsEvent;
constructor (wsEvent) {
this.wsEvent = wsEvent;
}
async run (client) {

View file

@ -5,17 +5,6 @@ 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': {