Skip to content

Channel types in annotations #2

Description

@Bluenix2

Summary

This issue is opened to request help and ideas for how to support Discord's new channel_types field on Application command options.

Description

The problem isn't implementing channel_types - that is rather trivial with how the library has been structured - it's how to support it in a good API.

The easiest way is to add a keyword argument to the Option default and decorator that accepts an enum but if possible I would like to explore a way to use annotations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement of an existing featurehelp wantedExtra attention is neededminorDeprecate, remove, or add a featurewumpy-interactions

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions