Skip to content

Add a way to ignore specific enum values from being shown as options on discord. #330

@AraHaan

Description

@AraHaan

Description

I have a use case where I have a bot enum and with my enums .NET will warn me if I do not provide None = 0 in said enums.

The issue here:

  • Because of this None ends up being an option in the parameters to my commands that takes in those enums, which in the implementation to my bot is an invalid option that will throw by design.

This is why I think this is needed as other people might be getting bitten by this as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions