Releases: tibue99/ezcord
Releases · tibue99/ezcord
v0.5.2
Dynamic Language (#47)
- Added multi-language support: Set the
language
toauto
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 usingblacklist.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
andforeign_keys
for single DB connections
v0.5.1
Changes
- Added
fill
parameter forDBHandler.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
andezcord.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
disable_on_timeout
for ephemeral messages, Ezcord will now preventNotFound
errors when a non-ephemeral message has been deleted.
v0.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 inDBHandler
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
v0.4.1
v0.4.0
New features
- Added status changer
- Added
utils.codeblock
- Added
utils.random_avatar
- Added options for help command:
show_cmd_count
,permission_check
Databases
- Added option to enforce foreign keys
- Added option to autoconvert JSON data
- Options can now be passed into the
self.start
context manager to override or extend class options - Added alias methods
execute
andconnect
- Renamed
transaction
toauto_connect
to avoid confusion
Bug fixes and changes
- Fixed
auto_setup
when creating a class instance in anon_ready
event - Fixed
auto_setup
for multiple classes of the same type - If
subdirectories=True
inbot.load_cogs
, subdirectories will now be loaded recursively times.convert_to_seconds
can now raise an error no valid string is given- Fixed a rare issue when creating internal config files. All config data is now stored in memory.
utils.create_json_file
now accepts keyword arguments forjson.dumps
- Added
EzcordException
as a base exception class
v0.3.7
v0.3.6
Changes
- Added file mode option to
set_log()
- The default cog log style is now
sum
- Help command categories can now show the cog description
- Help command front page style can now be customized
Bugs
- Fixed startup with discord.py
- Passing a token to
bot.run()
no longer loads the token from the environment - Database
exec
now returns the cursor object
v0.3.5
New Features
- Added
utils.ez_autocomplete
- Added French & Spanish translation (#8)
- Subclasses of
ezcord.DBHandler
can now automatically call their setup method
Bug fixes
- Fixed partial support for other libraries (#7)
- Help command buttons are no longer created disabled in some cases
- Fixed View's
on_timeout
for old Pycord versions
v0.3.4
- Event errors are finally sent to your error webhook 😄
- Pycord is no longer automatically installed in case you want to use certain eligible features with another library
- Help command: Rename parameter
url_buttons
tobuttons
- Fixed
disable_on_timeout
forezcord.View