Skip to content

Releases: tibue99/ezcord

v0.7.2

07 Dec 08:55
Compare
Choose a tag to compare

i18n improvements (#89)

  • Added ezcord.LOCALE for type hinting
  • Fixed a rare issue where the dot notation for translation keys lead to an error
  • Improved translation efficiency by skipping certain embed values and lookup locations

Changes

  • Added utils.create_yaml_file (#88)
  • Use yaml file for /admin show_servers
  • Fixed bold parameter in bot.get_cmd
  • Added .env file to the PostgreSQL example

New Contributors

v0.7.1

25 Oct 11:06
Compare
Choose a tag to compare
  • Added support for Python 3.13
  • Fixed the I18N._custom_language_settings error when the I18N class is not used. Tests have been implemented to avoid this type of error in the future.
  • Fixed type hints for ezcord.t function

v0.7.0

13 Oct 11:19
Compare
Choose a tag to compare

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

v0.6.5

10 Jul 10:53
117f00a
Compare
Choose a tag to compare

Features and changes

  • Support user apps for help command (#66)
  • Ignore hidden cogs when using bot.cmd_count
  • Added cache for blacklist (#71)

Postgres

  • asyncpg is no longer installed with Ezcord by default
  • Fixed type hints for PGHandler

v0.6.4

19 May 11:39
Compare
Choose a tag to compare

This release fixes a bug when using Ezcord without a supported Discord library. (#70)

v0.6.3

16 May 15:17
Compare
Choose a tag to compare

New Features

  • Added ezcord.PGHandler, a wrapper for PostgreSQL / asyncpg (#65)
  • Added ezcord.AutoShardedBot (#69)

Bug Fixes

  • Fixed large durations in utils.convert_to_seconds
  • Fixed hidden directories in utils.count_lines (#68)

v0.6.2

14 Mar 21:23
Compare
Choose a tag to compare

This is a bug fix release

  • Added localization for embed lists
  • Fixed embed templates when i18n is disabled
  • Fixed modal values not being localized
  • Fixed count parameter for interaction responses
  • Fixed global variables if language file doesn't contain a general key

v0.6.1

08 Mar 18:43
Compare
Choose a tag to compare

This release fixes compatibility with older versions of Pycord that are missing the interaction.respond attribute.

v0.6.0

08 Mar 10:33
Compare
Choose a tag to compare

i18n (#58)

  • Added localization for slash commands
  • Added localizations for messages, embeds, views, modals and more

Other changes

  • EzCord can now be used without a Discord library, as some features like DBHandler do not require Discord (#62)
  • Added contribution guide to docs (#63)
  • Added utils.load_message (#59)
  • Fixed status changer variables
  • Disabled guild_only for the help command by default

New contributors

v0.5.3

01 Feb 17:22
Compare
Choose a tag to compare

Updates

  • Added support for Python 3.12
  • Added DBHandler.executemany
  • The help command will now show all commands by default, with the option to turn on permission checks

Bugs

  • Fixed latency overflow error in on_ready print
  • Ignore ErrorMessageSent error in components
  • Fixed type hints for bot.add_status_changer
  • Fixed command name display when command mention is not available
  • Fixed plural localization
  • Added missing NotOwner check to the error handler