Ezcord

Latest version: v0.7.1

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.7.1

- 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

0.7.0

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

0.6.5

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

0.6.4

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

0.6.3

New Features
- Added `ezcord.PGHandler`, a wrapper for PostgreSQL / asyncpg (https://github.com/tibue99/ezcord/pull/65)
- Added `ezcord.AutoShardedBot` (https://github.com/tibue99/ezcord/pull/69)

Bug Fixes
- Fixed large durations in `utils.convert_to_seconds`
- Fixed hidden directories in `utils.count_lines` (https://github.com/tibue99/ezcord/pull/68)

0.6.2

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

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.