Releases: tibue99/ezcord
Releases · tibue99/ezcord
v0.7.2
i18n improvements (#89)
- Added
ezcord.LOCALE
for type hinting - Fixed a rare issue where the dot notation for translation keys lead to an error
- Improved translation efficiency by skipping certain embed values and lookup locations
Changes
- Added
utils.create_yaml_file
(#88) - Use yaml file for
/admin show_servers
- Fixed
bold
parameter inbot.get_cmd
- Added
.env
file to the PostgreSQL example
New Contributors
- @SilberGecko6917 made their first contribution in #88
v0.7.1
v0.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 todiscord.Color
- Added
utils.avatar
for permanent avatar URLs - Added
GuildMismatch
exception toutils.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 useezcord.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 attributesconvert_time
andconvert_dt
EzView
andEzModal
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
v0.6.5
v0.6.4
v0.6.3
v0.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
v0.6.1
v0.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
v0.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