fix
This commit is contained in:
		
							parent
							
								
									a7c442d340
								
							
						
					
					
						commit
						3fe3a84928
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -226,7 +226,7 @@ export class SlashClient extends HarmonyEventEmitter<SlashClientEvents> { | ||||||
| 
 | 
 | ||||||
|     await this.emit('interaction', interaction) |     await this.emit('interaction', interaction) | ||||||
|     try { |     try { | ||||||
|       await cmd.handler(interaction) |       await cmd.handler(interaction as SlashCommandInteraction) | ||||||
|     } catch (e) { |     } catch (e) { | ||||||
|       await this.emit('interactionError', e) |       await this.emit('interactionError', e) | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue