Skip to content

ReactionType isn't exported #10309

@LeviPesin

Description

@LeviPesin

Summary

ReactionType isn't exported from the library

Reproduction Steps

  1. Do from discord import ReactionType in the code.
  2. Observe ImportError: cannot import name 'ReactionType' from 'discord' (D:\.pyenv\pyenv-win\versions\3.12.5\Lib\site-packages\discord\__init__.py). Did you mean: 'InteractionType'?.
  3. Note that it should be supported.

I think the problem is that it isn't included in enums.py file. I can file a PR fixing this.

Minimal Reproducible Code

Expected Results

It should work.

Actual Results

It does not.

Intents

N/A

System Information

N/A

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    unconfirmed bugA bug report that needs triaging

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions