Releases: modmail-dev/Modmail
Releases · modmail-dev/Modmail
Stable Release
Added
- You will no longer need to view your bot debug logs from Heroku.
debugwill show you the recent logs within 24h through a series of embeds.- If you don't mind your data (may or may not be limited to: user ID, guild ID, bot name) be on the internet,
debug hastebinwill upload a formatted logs file to https://hasteb.in. debug clearwill clear the locally cached logs.- Local logs are automatically cleared at least once every 27h for bots hosted on Heroku.
- If you don't mind your data (may or may not be limited to: user ID, guild ID, bot name) be on the internet,
Fixed
- Will no longer show
Unclosed client sessionandTask was destroyed but it is pending!when the bot terminates. thread.createis now synchronous so that the first message sent can be queued to be sent as soon as a thread is created.- This fixes a problem where if multiple messages are sent in quick succession, the first message sent (which triggers the thread creation) is not sent in order.
- Trying to reply to someone who has DMs disabled or has blocked the bot is now handled and the bot will send a message saying so.
Changed
printis replaced by logging.- New environment variable introduced:
LOG_LEVEL. - This influences the number of messages received in Heroku logs.
- Possible options, from least to most severe, are:
INFO,DEBUG,WARNING,ERROR,CRITICAL. - In most cases, you can ignore this change.
- New environment variable introduced:
on_errorandCommandNotFoundare now logged.
Stable Release
Changed
?contactno longer raise a silent error in Heroku logs when the recipient is a bot. Now Modmail responds with an error message.
Bug Fix
Bug Fix
Bug Fix
Plugins
Added
- Plugins:
- Think of it like addons! Anyone (with the skills) can create a plugin, make it public and distribute it. Add a welcome message to Modmail, or moderation commands? It's all up to your imagination! Have a niche feature request that you think only your server would benefit from? Plugins are your go-to!
- Creating Plugins Documentation.
Bug Fix
Named colors
Added
- Named colors are now supported! Over 900 different common color names are recognized. A list of color names can be found in core/_color_data.py.
- Named colors can be set the same way as hex. But this can only be done through
config set, which means database modifications will not work. - For example:
config set main_color yellowish green.
- Named colors can be set the same way as hex. But this can only be done through
- New config var
main_colorallows you to customize the main Modmail color (as requested by many). Defaults to Discordblurple.