File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
packages/commandkit/src/app Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -784,7 +784,7 @@ export class AppCommandHandler {
784784 */
785785 private async loadCommand ( id : string , command : Command ) {
786786 try {
787- // Skip if path is null (directory-only command group)
787+ // Skip if path is null (directory-only command group) - external plugins
788788 if ( command . path === null ) {
789789 this . loadedCommands . set ( id , {
790790 command,
@@ -797,8 +797,6 @@ export class AppCommandHandler {
797797 data : {
798798 command : {
799799 name : command . name ,
800- description : 'No command description set.' ,
801- type : ApplicationCommandType . ChatInput ,
802800 } ,
803801 } ,
804802 } ) ;
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export class CommandRegistrar {
5757 collections . push ( {
5858 ...json ,
5959 type : ApplicationCommandType . ChatInput ,
60+ description : json . description ?? 'No command description set.' ,
6061 __metadata,
6162 } ) ;
6263 }
You can’t perform that action at this time.
0 commit comments