Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Single Member Enums Fail Converting To Option #2577

Merged
merged 8 commits into from
Sep 16, 2024

Conversation

Icebluewolf
Copy link
Contributor

@Icebluewolf Icebluewolf commented Sep 16, 2024

Summary

This fixes an issue where a Enum with one member that is not of a type accepted by discord an error would be thrown during option conversion.
It also solves #2558

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@plun1331 plun1331 linked an issue Sep 16, 2024 that may be closed by this pull request
3 tasks
Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
Signed-off-by: Ice Wolfy <44532864+Icebluewolf@users.noreply.github.com>
@Lulalaby Lulalaby enabled auto-merge (squash) September 16, 2024 16:01
@Lulalaby Lulalaby merged commit 96180fb into Pycord-Development:master Sep 16, 2024
25 checks passed
@Icebluewolf Icebluewolf deleted the EnumDocStringFix branch September 16, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Declaring an enum option with no docstring causes an error
3 participants