Skip to content

v0.7.0

Compare
Choose a tag to compare
@tibue99 tibue99 released this 13 Oct 11:19
· 13 commits to main since this release

Localization

  • Multiple keys and static content can now be placed in a single value, for example in a message content. Content that is not specific to a language (such as emojis) is no longer needed within a language file.
  • Added support for custom language settings (previously, languages could only be set on Discord community servers)
  • count can now be used as a variable (previously, this was only possible as a pluralization attribute)
  • Added localization support for the message.reply shortcut

Utils

  • Added utils.format_number to format big numbers
  • Added utils.convert_color to convert different color strings to discord.Color
  • Added utils.avatar for permanent avatar URLs
  • Added GuildMismatch exception to utils.load_message in case a message does not belong to the specified guild

Components

  • The default discord.ui.View class now has error logging and other features. It's no longer required to use ezcord.View for those features. Same thing for modals.
  • Added ezcord.DropdownPaginator and usage examples for select menus that have more options than Discord allows
  • EzContext now has the shortcut attributes convert_time and convert_dt
  • EzView and EzModal are now deprecated
  • Improved component error handling
    • Added AutoMod errors to the error handler (Views and slash commands)
    • Added module information to error notifications
    • Added option to disable on_timeout errors

Changes / Fixes

  • Fixed help command when using ezcord.BridgeBot
  • Some internal imports are now hidden to prevent accidental use