Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

DM components fix

Compare
Choose a tag to compare
@kvsxxx kvsxxx released this 04 Sep 16:23
· 122 commits to main since this release

https://pypi.org/project/discord-ui/4.2.7

Added

  • on_component

There is now an event with the name component that will be dispatched whenever a component was received
If you use Message.wait_for, there is now a new event choice with the name component (message.wait_for("component", client))

Fixed

DM issue with components

Changed

  • edit

Edit now takes "content" as not positional (.edit("the content") works now)

  • component lenght

You are now able to set component values with the right max lenght