An easy-to-use extension for Discord.py and Pycord
This release fixes compatibility with older versions of Pycord that are missing the interaction.respond
attribute.
DBHandler
do not require Discord (#62)utils.load_message
(#59)guild_only
for the help command by defaultDBHandler.executemany
on_ready
printErrorMessageSent
error in componentsbot.add_status_changer
NotOwner
check to the error handlerlanguage
to auto
to automatically use the interaction localedefault_language
if the interaction locale is not availableutils.count_lines
bot.cmd_count
propertyutils.convert_to_seconds
dt
when using blacklist.get_full_bans
conv_json
and foreign_keys
for single DB connectionsfill
parameter for DBHandler.one
bot.add_status_changer
can now be passed without a listezcord.EzContext
and ezcord.Bot
Unexpected parameter
warning for embed templatesCheckFailure
error handlingtimes.convert_dt
disable_on_timeout
for ephemeral messages, Ezcord will now prevent NotFound
errors when a non-ephemeral message has been deleted.EzContext
(Pycord only)CheckFailure
errors are now handled by the default error handlerErrorMessageSent
exception to simplify error messages for userssetup
method in DBHandler
classes is now called for each instanceNone
content
parameterutils.codeblock
utils.random_avatar
show_cmd_count
, permission_check
self.start
context manager to override or extend class optionsexecute
and connect
transaction
to auto_connect
to avoid confusionauto_setup
when creating a class instance in an on_ready
eventauto_setup
for multiple classes of the same typesubdirectories=True
in bot.load_cogs
, subdirectories will now be loaded recursivelytimes.convert_to_seconds
can now raise an error no valid string is givenutils.create_json_file
now accepts keyword arguments for json.dumps
EzcordException
as a base exception class