If the option type is Nullable<T>, return CommandOptionType.SingleOrNoValue if T is CommandOptionType.SingleValue #394
Labels
closed-stale
This issue is closed because it went stale and there was no action planned. It can be reopened.
enhancement
help wanted
We would be willing to take a well-written PR to help fix this.
stale
Is your feature request related to a problem? Please describe.
If the option type is
Nullable<SomeEnum>
, I have to specifyCommandOptionType.SingleOrNoValue
. Otherwise, the help text would berather than
Describe the solution you'd like
CommandOptionType.SingleOrNoValue
ifT
isCommandOptionType.SingleValue
--a value
forSingleOrNoValue
to keep backwards compatibilityThe text was updated successfully, but these errors were encountered: