feat(gateway): add raw event
This commit is contained in:
		
							parent
							
								
									45673d8197
								
							
						
					
					
						commit
						c92f2e3d49
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -115,6 +115,8 @@ class Gateway { | ||||||
|           await this.cache.set('seq', s) |           await this.cache.set('seq', s) | ||||||
|         } |         } | ||||||
|         if (t !== null && t !== undefined) { |         if (t !== null && t !== undefined) { | ||||||
|  |           this.client.emit('raw', t, d) | ||||||
|  |            | ||||||
|           const handler = gatewayHandlers[t] |           const handler = gatewayHandlers[t] | ||||||
| 
 | 
 | ||||||
|           if (handler !== undefined) { |           if (handler !== undefined) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue