Skip to content

Releases: modmail-dev/Modmail

Bug Fix

18 Feb 02:23

Choose a tag to compare

Fixed

  • Fixed a bug in the contact command where the response message did not send.

Stable Release

18 Feb 02:16

Choose a tag to compare

Added

  • You will no longer need to view your bot debug logs from Heroku. debug will 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 hastebin will upload a formatted logs file to https://hasteb.in.
    • debug clear will clear the locally cached logs.
    • Local logs are automatically cleared at least once every 27h for bots hosted on Heroku.

Fixed

  • Will no longer show Unclosed client session and Task was destroyed but it is pending! when the bot terminates.
  • thread.create is 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

  • print is 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.
  • on_error and CommandNotFound are now logged.

Stable Release

18 Feb 02:15

Choose a tag to compare

Changed

  • ?contact no longer raise a silent error in Heroku logs when the recipient is a bot. Now Modmail responds with an error message.

Bug Fix

18 Feb 02:15

Choose a tag to compare

Fixed

  • Fixed a typo in the config options.

Bug Fix

18 Feb 02:14

Choose a tag to compare

Fixed

  • Installing requirements.txt files in plugins.

Bug Fix

18 Feb 02:14

Choose a tag to compare

Fixed

  • Reading requirements.txt files in plugins.

Plugins

18 Feb 02:14
516ba4f

Choose a tag to compare

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

18 Feb 02:13

Choose a tag to compare

Fixed

  • config del command will now work properly on self-hosted db bots.

Named colors

18 Feb 02:13

Choose a tag to compare

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.
  • New config var main_color allows you to customize the main Modmail color (as requested by many). Defaults to Discord blurple.

Bug Fix

18 Feb 02:12

Choose a tag to compare

Fixed

  • Patched a bug where logs sub-commands were accessible by anyone.
  • Patched a bug where an error was raised if there was an open thread where the recipient had left the server.

Huge thanks to Sasiko for reporting these issues.