Skip to content

OpenDiscussionCommandHandlerConstructorParams.isDiscussionsEnabled

OpenDiscussionCommandHandlerConstructorParams › isDiscussionsEnabled

Type: boolean

Whether the repository has Discussions enabled. When false, the command is unavailable and execution does not open a browser. Prefer omitting registration altogether in that case.