Releases: discord-py-ui/discord-ui
slash commands
https://pypi.org/project/discord-message-components/2.0.1/
Added
-
Slashcomamnd support
Slashclass for slash commandsSlash.command,Slash.subcommandandSlash.subcommand_groupsare available for creating slash commandsSlashedCommandandSlashedSubCommandare there for used slash commands
-
Message- disable_action_row(row_numbers:
int|range, disable:bool)
disables (enables) component row(s) in the message
- disable_components(disable:
bool)
disables (enables) all componentss
- disable_action_row(row_numbers:
-
overrides
Messageable.sendreturns Message instead of discord.Message and takes components parameteroverride_clientfunction added
-
interaction.send, creates followup messages which can be hidden -
Component.listening_component
A listening component with a callback function that will always be executed whenever a component with the specified custom_id
was used
Changed
-
Message
- All Message objects don't use the client object anymore
- Message.wait_for now needs the client as the first parameter
Fixed
- Interaction
All interaction responses work now
- A lot of issues I fogor💀
message-components
https://pypi.org/project/discord-message-components/1.2.2/
We changed from buttons to message components!
Added
-
SelectMenus
You can now use SelectMenus and respond to them!
Take a look at our new docs for them -
new documentation
We now have a documentation for our code! Check them out!
Fixed
- code improvement
We've fixed some small code issues and improved them
v1.1.2
v1.1.1
https://pypi.org/project/discord-py-buttons/1.1.1/
Added
- Message.edit()
You can now edit messages with buttons
Additionally, the edit function takes asuppressparameter, that ifTrue, the embed in the message will be hidden, and ifFalse, it will be shown again
v1.1.0
https://pypi.org/project/discord-py-buttons/1.1.0/
Changed
-
Major changes to request code, now using the client's request
-
ResponseMessage.acknowledge() -> ResponseMessage.defer()
Changed the name of the function + changed ResponseMessage.acknowledged -> ResponseMessage.deferred -
ResponseMessage.defer() => await ResponseMessage.defer()
defer (acknowledge) is now async and needs to be awaited
Added
- hidden responses
You can now send responses only visible to the user
Fixed
- ResponseMessage.respond()
Now doesn't show a failed interaction
v1.0.5
https://pypi.org/project/discord-py-buttons/1.0.5/
Fixed
- ResponseMessage.respond()
responding now doesn't fail after sending the message, it will now acknowledge the interaction by it self if not already acknowledged and then send the message
v1.0.4
https://pypi.org/project/discord-py-buttons/1.0.4/
Added
- ResponseMessage.acknowledged
If the message was acknowledged with the ResponseMessage.acknowledge() function, the variable will be set to true
Changed
-
ResponseMessage.respond() => await ResponseMessage.respond()
respond() function is now async and needs to be awaited -
ResponseMessage.respond() -> None => ResponseMessage.respond() -> Message or None
respond() now returns the sent message or None if ninjaMode is true