Skip to content

v1.11.2a1

Choose a tag to compare

@FasterSpeeding FasterSpeeding released this 10 Apr 18:33
· 206 commits to master since this release
5c65527

1.11.2a1 - 2023-04-10

Added

  • Support for parsing message links to yuyo.links.

Changed

  • Added support for ptb. and canary. links to yuyo.links.
  • Modals now default the per-field custom IDs (i.e. for text components) to the parameter's name (attribute name for ModalOptions fields), if set.
  • Renamed the link get and fetch methods:
    • InviteLink.fetch to InviteLink.fetch_invite
    • InviteLink.get to InviteLink.get_invite
    • MessageLink.fetch to MessageLink.fetch_message
    • MessageLink.get to MessageLink.get_message
    • TemplateLink.fetch to TemplateLink.fetch_template
    • WebhookLink.fetch to WebhookLink.fetch_webhook

Fixed

  • ModalOptions attributes now correctly expose the values passed to the modal rather than internal descriptors.
  • ChunkTracker.set_auto_chunk_members now correctly disables auto chunking when False is passed after it has been previously enabled. This now also always changes the configuration for chunk_presences.
  • Some typoed function names which were missing the "c" in "interactive".
  • AsgiBot.start and AsgiBot.close will now call the startup and shutdown callbacks respectively when asgi_managed=False.