Ezcord

Latest version: v0.7.1

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

Scan your dependencies

Page 2 of 5

0.6.1

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

0.6.0

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
* mvlwarekekw made their first contribution in 59

0.5.3

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

0.5.2

Dynamic Language (47)
- Added **multi-language** support: Set the `language` to `auto` to automatically use the interaction locale
- Provide a `default_language` if the interaction locale is not available

Improvements
- Added `utils.count_lines`
- Added `bot.cmd_count` property
- Added more template variables for embeds that were previously only available in the status changer (42)
- Added custom variable support for the help command (48)
- Added month detection for `utils.convert_to_seconds`
- Blacklist commands are now customizable and can be disabled (41)

Fixes
- Fixed help command in DMs when a command had default permissions set
- Fixed database type of `dt` when using `blacklist.get_full_bans`
- **Note:** This does not automatically change if you already have an active blacklist database (44)
- Fixed interaction responses for blacklist commands
- Fixed missing key error for custom language files
- Fixed `conv_json` and `foreign_keys` for single DB connections

0.5.1

Changes
- Added `fill` parameter for `DBHandler.one`
- Help command categories are now sorted alphabetically
- Slightly changed default error messages
- Custom language files can now contain single key-value pairs
- Activities in `bot.add_status_changer` can now be passed without a list

Bug Fixes
- Fixed type hints for `ezcord.EzContext` and `ezcord.Bot`
- Fix `Unexpected parameter` warning for embed templates
- Fixed `CheckFailure` error handling
- Fixed offset-naive datetimes for `times.convert_dt`
- Fixed command groups and checks for discord.py help command
- [Upstream] Pycord [fixed](https://github.com/Pycord-Development/pycord/pull/2297) `disable_on_timeout` for ephemeral messages, Ezcord will now prevent `NotFound` errors when a non-ephemeral message has been deleted.

0.5.0

Discord.py
- EzCord now officially supports Discord.py!

Pycord Context
- Added `EzContext` (Pycord only)
- Embed templates can now be used directly with the context in application commands

Other changes
- `CheckFailure` errors are now handled by the default error handler
- Added `ErrorMessageSent` exception to simplify error messages for users
- The `setup` method in `DBHandler` classes is now called for each instance
- Changed the default help command timeout to `None`
- Fixed some rare help command edge cases
- Embed templates can now be used with the `content` parameter

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.