Registering Context Commands

Hello

I want to register a context command with this code :

export class ValidRoroCommand extends Command {
  constructor(context, options) {
    super(context, {
      ...options,
      name: "Valide",
    });
  }

  registerApplicationCommands(registry) {
    registry.registerContextMenuCommand(builder =>
      builder //
        .setName(this.name)
        .setType(ApplicationCommandType.Message),
    );
  }


It's work but I don't have capital letter on the first letter V. Why ?
Was this page helpful?