Closed Mabi19 closed 2 years ago
thank you for reporting, it seems that this was a small typing issue, this should be fixed now.
plz wait for the new pip package version to be uploaded together with the fix
ok so I uploaded the fix with version 3.2.4
pip install discord-ui==3.2.4
When creating the extension as part of a custom bot class, you get an AttributeError. I'm using Python 3.9.6, discord.py version 1.7.3 and discord-ui version 3.1.0.
(I removed unnecessary parts of the paths)
Here's the code:
The documentation suggests that it has to be a
commands.Bot
, but I don't see how this would break it. Additionally, this only started happening once I updated to 3.1.0.