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

Releases: discord-py-ui/discord-ui

slash commands

23 Jul 16:24
Compare
Choose a tag to compare

https://pypi.org/project/discord-message-components/2.0.1/

Added

  • Slashcomamnd support

    • Slash class for slash commands
    • Slash.command, Slash.subcommand and Slash.subcommand_groups are available for creating slash commands
    • SlashedCommand and SlashedSubCommand are 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

  • overrides

    • Messageable.send returns Message instead of discord.Message and takes components parameter
    • override_client function 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

02 Jul 15:33
Compare
Choose a tag to compare

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

30 Jun 08:53
Compare
Choose a tag to compare

v1.1.1

30 Jun 08:36
Compare
Choose a tag to compare

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 a suppress parameter, that if True, the embed in the message will be hidden, and if False, it will be shown again

v1.1.0

21 Jun 16:37
Compare
Choose a tag to compare

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

21 Jun 13:47
Compare
Choose a tag to compare

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

21 Jun 13:00
Compare
Choose a tag to compare

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