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 {
 | 
			
		||||
    constructor () {
 | 
			
		||||
        this.wsEvent;
 | 
			
		||||
    constructor (wsEvent) {
 | 
			
		||||
        this.wsEvent = wsEvent;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    async run (client) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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': {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue