Skip to content

Releases: modmail-dev/Modmail

Join/Leave Message, Remove Modmail API

15 Nov 02:21

Choose a tag to compare

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

15 Nov 02:20

Choose a tag to compare

Fixed

  • Emergency patch of a SyntaxError.

Close Message Update

15 Nov 02:19

Choose a tag to compare

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

15 Nov 02:19
53d4555

Choose a tag to compare

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

15 Nov 02:18

Choose a tag to compare

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

15 Nov 02:17

Choose a tag to compare

What's new?

Added image link in title in case discord fails to embed an image.

Implement account age

15 Nov 02:16

Choose a tag to compare

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 months PT4H14M999S 4 hours 14 minutes and 999 seconds). https://en.wikipedia.org/wiki/ISO_8601#Durations.
    • You can set account_age using config set account_age time where "time" can be a simple human readable time string or an ISO-8601 Duration Format string.

Changed

  • block reason cannot start with System Message: as it is now reserved for internal user blocking.
  • block, like close, now supports a block duration (temp blocking).

Bug Fix

15 Nov 02:13

Choose a tag to compare

Fixed

  • Fixed an issue where status and activity do not work if they were modified wrongly in the database.
    • This was especially an issue for older Modmail users, as the old status configuration variable clashes with the new status variable.

Bug Fix

18 Feb 07:11

Choose a tag to compare

Fixed

  • Fixed a bug where an error was raised when a message with received during a scheduled closure.

Bug Fix

18 Feb 02:26

Choose a tag to compare

Fixed

  • A bug where a thread was blocked from sending messages when multiple images were uploaded, due to a typo.

changed