Releases: modmail-dev/Modmail
Join/Leave Message, Remove Modmail API
Changed
All support for Modmail API (api.modmail.tk) has terminated.
If you're still using api.modmail.tk, you will need to migrate to the self-hosted database
option ASAP. Your bot will not work unless you switch to the self-hosted option. Refer to the installation tutorial for information regarding self-hosted Modmail.
If a member leaves/joins (again) while they are a recipient of a thread, a message will be sent to notify you that this has occurred.
Emergency Patch
Fixed
- Emergency patch of a SyntaxError.
Close Message Update
What's new?
Added the ability to change the default close message via the introduction of two config variables.
thread_close_response- when someone closes the thread.thread_self_close_response- when the recipient closes their own thread.
They will be provided by string variables that you can incorporate into them:
closer- the user object that closed the thread.logkey- the key for the thread logs e.g. (5219ccc82ad4)loglink- the full link to the thread logs e.g. (https://logwebsite.com/logs/5219ccc82ad4)
Example usage would be: ?config set thread_close_message {closer.mention} closed the thread, here is the link to your logs: [**`{logkey}`**]({loglink})
Recipient Self-close Thread
What's new?
Added the ability to enable the recipient to close their own threads. This takes place in the form of a reaction that the user can click to close their thread. This functionality is now enabled by default.
To disable this, do ?config set disable_recipient_thread_close true
Final v2.13.x release - ability to disable sent and blocked emoji
What's new?
Added the ability to disable the sent_emoji and blocked_emoji when a user messages modmail.
You can do this via ?config set sent_emoji disable
Fixed
The bot now handles having too many roles to show in the thread created embed.
Style Update
What's new?
Added image link in title in case discord fails to embed an image.
Implement account age
What's new?
- Introduced a new configuration variable
account_agefor setting a minimum account creation age.- Users blocked by this reason will be stored in
blockedalong with other reasons for being blocked. account_ageneeds to be an ISO-8601 Duration Format (examples:P12DT3H12 days and 3 hours,P3Y5M3 years and 5 monthsPT4H14M999S4 hours 14 minutes and 999 seconds). https://en.wikipedia.org/wiki/ISO_8601#Durations.- You can set
account_ageusingconfig set account_age timewhere "time" can be a simple human readable time string or an ISO-8601 Duration Format string.
- Users blocked by this reason will be stored in
Changed
blockreason cannot start withSystem Message:as it is now reserved for internal user blocking.block, likeclose, now supports a block duration (temp blocking).
Bug Fix
Bug Fix
Bug Fix
Fixed
- A bug where a thread was blocked from sending messages when multiple images were uploaded, due to a typo.
changed
- Uses https://hasteb.in instead of https://hastebin.com for
?debug hastebin.