Ezcord-py

Latest version: v0.6.4

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

Scan your dependencies

Page 4 of 5

0.3.0

Aiosqlite Wrapper
- Added `DBHandler` class for simple database queries
- Added DB methods: `all`, `one`, `exec`
- Added support for transactions with `start` and `close`

Help Command
- Added `bot.add_help_command` to activate a custom help command
- Added `HelpStyle` to choose the style of the help command
- Added `ezcord.Cog` class to modify help command categories

Other Changes
- Added `bot.add_ready_info` and `bot.remove_ready_info` for easy ready event modification
- Added more examples

0.2.2

Logging
- Added presets for cog logs
- Reworked `Bot.load_cogs()`: Removed `custom_logs` and `log_directories`, added `custom_log_level` and `log_color`
- Log formats can now be customized with multiple colors
- Added time format presets
- Added automatic spacing option for log levels
- Added `colorful` as a log format preset

Templates
- Templates can now be a regular message instead of an embed
- Added variables that can be used in all templates
- It's now possible to set the same default text for all templates

Other Changes
- Allow integer values for the custom ready event
- The error webhook can now be used while the error event is disabled
- Added examples for `times.convert_to_seconds()`
- Fixed support for Python 3.9

0.2.1

Bug Fixes
- Fixed missing language files (breaking)
- Fixed color codes for log files

0.2.0

Components
- Added `EzModal` for global error handling
- Added `View` and `Modal` as shortcuts for `EzView` and `EzModal`

Added global component events with `ezcord.event`
- `view_check`
- `on_view_check_failure`
- `on_view_error`
- `on_modal_error`

Customization
- Allow custom language files
- Allow custom stats in `on_ready` message
- Added parameters `log` and `log_directories` to `bot.load_cogs()`

Other Changes
- Added support for bridge commands
- The default log level is now `logging.INFO`

0.1.5

New features
- Added different styles for the `on_ready` event, such as `table`
- Added support for prefix commands
- Added `EzView` component with improved `disable_on_timeout` feature

Other changes
- Removed support for Python 3.8
- Fixed an issue where the wrong title was displayed in embed templates
- Subcommand groups are now counted correctly
- Added issue templates to GitHub

0.1.4

Embed templates
- Embed templates can now be overridden with custom embeds
- Templates can now be sent as a normal message instead of an interaction response
- New embed templates: `info`, `warning`
- All message arguments can now be passed in when sending a template, e.g. `ephemeral`, `view`, `delete_after` or `file`
- It's now possible to set a different embed title each time the template is used

Logs
- Colors can now be passed in as a string (`"black"` instead of `colorama.Fore.BLACK`)
- Added support for log messages with a custom level name
- Log messages can now be sent to a Discord webhook
- Cog logs are now customizable
- It's now possible to disable the full traceback, to only show the important traceback part
- Log messages can now be formatted with `**`, to make parts of the log message colored

Other improvements
- Language settings and embed templates are now cached to improve reaction time
- `ignored_cogs` should now work properly when loading cogs
- Examples are now display in the documentation

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.