v4.1.0 Release
Drops support for Python 3.9. Python 3.10 and Python 3.11 are now the only supported versions.
Fixed
- GIF stickers no longer cause the bot to crash.
?alias make/createas aliases to?alias add. This improves continuity between the bot and its command structure. (PR #3195)- Loading the blocked list with the
?blockedcommand takes a long time when the list is large. (PR #3242) - Reply not being forwarded from DM. (PR #3239)
- Cleanup imports after removing/unloading a plugin. (PR #3226)
- Fixed a syntactic error in the close message when a thread is closed after a certain duration. (PR #3233)
- Removed an extra space in the help command title when the command has no parameters. (PR #3271)
- Corrected some incorrect config help descriptions. (PR #3277)
- Rate limit issue when fetch the messages due to reaction linking. (PR #3306)
- Update command fails when the plugin is invalid. (PR #3295)
Added
?log key <key>to retrieve the log link and view a preview using a log key. (PR #3196)REGISTRY_PLUGINS_ONLY, environment variable, when set, restricts to only allow adding registry plugins. (PR #3247)DISCORD_LOG_LEVELenvironment variable to set the log level of discord.py. (PR #3216)STREAM_LOG_FORMATandFILE_LOG_FORMATenvironment variable to set the log format of the stream and file handlers respectively. Possible options arejsonandplain(default). (PR #3305)LOG_EXPIRATIONenvironment variable to set the expiration time of logs. (PR #3257)- New registry plugins:
autoreactandrename. - Improved join/leave message for multiple servers.
Changed
- Repo moved to https://github.com/modmail-dev/modmail.
- Channel name no longer shows
-0if the user has migrated to the new username system. ?noteand?replynow allows you to send a sticker without any message.- Guild icons in embed footers and author urls now have a fixed size of 128. (PR #3261)
- Discord.py internal logging is now enabled by default. (PR #3216)
- The confirm-thread-creation dialog now uses buttons instead of reactions. (PR #3273)
?disable allno longer overrides?disable new. (PR #3278)- Dropped root privileges for Modmail running under Docker. (PR #3284)
Internal
- Renamed
Bot.log_file_nametoBot.log_file_path. Log files are now created attemp/logs/modmail.log. (PR #3216) ConfigManager.getno longer accepts two positional arguments: theconvertargument is now keyword-only.- Various dependencies have been updated to their latest versions.