Releases: modmail-dev/Modmail
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_age
for setting a minimum account creation age.- Users blocked by this reason will be stored in
blocked
along with other reasons for being blocked. account_age
needs to be an ISO-8601 Duration Format (examples:P12DT3H
12 days and 3 hours,P3Y5M
3 years and 5 monthsPT4H14M999S
4 hours 14 minutes and 999 seconds). https://en.wikipedia.org/wiki/ISO_8601#Durations.- You can set
account_age
usingconfig set account_age time
where "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
block
reason 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
.
Stable Release
Added
- The ability to enable typing interactions.
- If you want the bot to type in the thread channel if the user is also typing, add the config variable
user_typing
, the value doesn't matter, just it's the presence. useconfig del
to disable the functionality. The same thing in reverse is also possible if you want the user to see the bot type when someone is typing in the thread channel add themod_typing
config variable.
- If you want the bot to type in the thread channel if the user is also typing, add the config variable
- New
status
command, change the bot's status toonline
,idle
,dnd
,invisible
, oroffline
.- To remove the status (change it back to default), use
status clear
. - This also introduces a new internal configuration variable:
status
. Possible values areonline
,idle
,dnd
,invisible
, andoffline
.
- To remove the status (change it back to default), use
Changed
- The internals for
activity
has drastically changed to accommodate the newstatus
command.