File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default class InteractionCreate extends Event {
3030 if ( ! interaction . isCommand ( ) ) return ;
3131 if ( ! client . commands . has ( interaction . commandName ) ) return ;
3232 if ( ! ( await this . isEnabled ( interaction ) ) ) {
33- interaction . reply ( {
33+ await interaction . reply ( {
3434 content : 'This command is disabled' ,
3535 ephemeral : true ,
3636 } ) ;
@@ -41,7 +41,7 @@ export default class InteractionCreate extends Event {
4141 client . commands . get ( interaction . commandName ) as Command
4242 ) . execute ( interaction ) ;
4343 } catch ( error ) {
44- console . error ( error ) ;
44+ console . warn ( error ) ;
4545 if ( interaction . deferred || interaction . replied ) return ;
4646 await interaction . reply ( {
4747 content : 'Es gab einen Fehler beim Ausführen des Commands!' ,
You can’t perform that action at this time.
0 commit comments