Skip to content

Releases: modmail-dev/Modmail

Major Release

15 Nov 02:44
Compare
Choose a tag to compare

Important

  • Recommend all users to unblock and re-block all blocked users upon updating to this release.

Added

  • Three new config vars:
    • enable_plugins (yes/no default yes)
      • When set to no, plugins will not be loaded into the bot.
    • error_color (color format, defaults discord red)
      • The color of error messages.
    • anon_reply_without_command (yes/no default no) (Thanks to papiersnipper PR#288)
      • When set, all non-command messages sent to thread channels are forwarded to the recipient anonymously without the need of ?anonreply.
      • This config takes precedence over reply_without_command.
  • ?logs responded [user] command, it will show all logs that the user has sent an reply. (Thanks to papiersnipper PR#288)
    • user when not provided, defaults to the user who ran the command.
  • Open threads in limbo now auto closes if the channel cannot be found. This check is done every time the bot restarts.
  • Ability to disable new threads from getting created.
    • ?disable
  • Ability to fully disable Modmail DM.
    • ?disable all
  • To re-enable DM: ?enable, and to see the current status: ?isenable.
  • This disabled Modmail interface is customizable with the following config vars:
    • disabled_new_thread_title
    • disabled_new_thread_response
    • disabled_new_thread_footer
    • disabled_current_thread_title
    • disabled_current_thread_response
    • disabled_current_thread_footer
  • Ability to delete notes when providing their ID. (Thanks to papiersnipper PR#402)
  • Ability to delete log entries. (Thanks to papiersnipper PR#402)

Changed

  • ?contact no longer send the "thread created" message to where the command is ran, instead, it's now sent to the newly created thread channel. (Thanks to DAzVise)
  • Automatically delete notes command ?note when there are no attachments attached.
  • Embed author links used to be inaccessible in many cases, now:
    • ?anonreply, ?reply, and ?note in the thread channel will link to the sender's profile.
    • ?reply and recipient's DM will also link the sender's profile.
    • ?anonreply in DM channel will link to the first channel of the main guild.
  • Plugins update (mostly internal).
    • git is no longer used to install plugins, it now downloads through zip files.
    • ?plugins enabled renamed to ?plugins loaded while enabled is still an alias to that command.
    • Reorganized plugins folder structure.
    • Logging / plugin-related messages change.
    • Updating one plugin will not update all other plugins (plugins are no longer separated by repos, but the plugin name itself).
  • Help command is in alphabetical order grouped by permissions.
  • Notes are no longer always blurple, it's set to MAIN_COLOR now.
  • Added ?plugins update for updating all installed plugins.
  • Reintroduce flake8 and use bandit for security issues detection.
  • Add travis checks for 3.6 in Linux and 3.7 for MacOS and Windows.
  • Eval commands are logged in debug logs.
  • Presence updates 30 minutes instead of 45 now.
  • Fixed an assortment of problems to do with block.
  • Existing aliases can be used when creating new aliases. (Thanks to papiersnipper PR#402)

Internal

  • Reworked config.get and config.set, it feeds through the converters before setting/getting.
    • To get/set the raw value, access through config[].
  • Prerelease naming scheme is now x.x.x-devN.
  • trigger_typing has been moved to core.utils.trigger_typing, the original location is deprecated.
  • Simpler status and activity logic.
  • New logging logic.

Dev Release

15 Nov 02:54
Compare
Choose a tag to compare
Dev Release Pre-release
Pre-release
  • Ability to delete notes when providing their ID. (Thanks to papiersnipper PR#402)
  • Ability to delete log entries. (Thanks to papiersnipper PR#402)
  • Existing aliases can be used when creating new aliases. (Thanks to papiersnipper PR#402)

Dev Release

15 Nov 02:53
Compare
Choose a tag to compare
Dev Release Pre-release
Pre-release

Nothing New.

Dev Release

15 Nov 02:52
Compare
Choose a tag to compare
Dev Release Pre-release
Pre-release

Fixed

  • Embed author links used to be inaccessible in many cases, now:
  • ?anonreply, ?reply, and ?note in the thread channel will link to the sender's profile.
  • ?reply and recipient's DM will also link the sender's profile.
  • ?anonreply in DM channel will link to the first channel of the main guild.

Dev Release

15 Nov 02:50
Compare
Choose a tag to compare
Dev Release Pre-release
Pre-release

Important

  • Recommend all users to unblock and re-block all blocked users upon updating to this release.

Added

  • Three new config vars:
    • enable_plugins (yes/no default yes)
      • When set to no, plugins will not be loaded into the bot.
    • error_color (color format, defaults discord red)
      • The color of error messages.
    • anon_reply_without_command (yes/no default no) (Thanks to papiersnipper PR#288)
      • When set, all non-command messages sent to thread channels are forwarded to the recipient anonymously without the need of ?anonreply.
      • This config takes precedence over reply_without_command.
  • ?logs responded [user] command, it will show all logs that the user has sent an reply. (Thanks to papiersnipper PR#288)
    • user when not provided, defaults to the user who ran the command.
  • Open threads in limbo now auto closes if the channel cannot be found. This check is done every time the bot restarts.

Changed

  • ?contact no longer send the "thread created" message to where the command is ran, instead, it's now sent to the newly created thread channel. (Thanks to DAzVise)
  • Automatically delete notes command ?note when there's no attachments attached.
  • Plugins update (mostly internal).
    • git is no longer used to install plugins, it now downloads through zip files.
    • ?plugins enabled renamed to ?plugins loaded while enabled is still an alias to that command.
    • Reorganised plugins folder structure.
    • Logging / plugin-related messages changes.
    • Updating one plugin will not update all other plugins (plugins are no longer separated by repos, but the plugin name itself).
  • Help command is in alphabetical order grouped by permissions.
  • Notes are no longer always blurple, its set to MAIN_COLOR now.
  • Added ?plugins update for updating all installed plugins.
  • Reintroduce flake8 and use bandit for security issues detection.
  • Add travis checks for 3.6 in Linux and 3.7 for MacOS and Windows.
  • Eval commands are logged in debug logs.
  • Presence updates 30 minutes instead of 45 now.
  • Fixed an assortment of problems to do with block.

Internal

  • Reworked config.get and config.set, it feeds through the converters before setting/getting.
    • To get/set the raw value, access through config[].
  • Prerelease naming scheme is now x.x.x-devN.
  • trigger_typing has been moved to core.utils.trigger_typing, original location is deprecated.
  • Simpler status and activity logic.

Dev Release

15 Nov 02:48
Compare
Choose a tag to compare
Dev Release Pre-release
Pre-release

Added

  • anon_reply_without_command (yes/no default no) (Thanks to papiersnipper PR#288)
    • When set, all non-command messages sent to thread channels are forwarded to the recipient anonymously without the need of ?anonreply.
    • This config takes precedence over reply_without_command.
  • ?logs responded [user] command, it will show all logs that the user has sent an reply. (Thanks to papiersnipper PR#288)
    • user when not provided, defaults to the user who ran the command.

Dev Release

15 Nov 02:47
Compare
Choose a tag to compare
Dev Release Pre-release
Pre-release

Added

  • Two new config vars:
    • ENABLE_PLUGINS (yes/no default yes), when set to no, plugins will not be loaded into the bot.
    • ERROR_COLOR (color format, defaults discord red), the color of error messages.

Changed

  • ?contact no longer send the "thread created" message to where the command is ran, instead, it's now sent to the newly created thread channel. (Thanks to DAzVise)
  • Plugins update (mostly internal).
    • git is no longer used to install plugins, it now downloads through zip files.
    • ?plugins enabled renamed to ?plugins loaded while enabled is still an alias to that command.
    • Reorganized plugins folder structure.
    • Logging / plugin-related messages change.
    • Updating one plugin will not update all other plugins (plugins are no longer separated by repos, but the plugin name itself).
  • Help command is in alphabetical order grouped by permissions.
  • Notes are no longer always blurple, its set to MAIN_COLOR now.

Internal

  • Reworked config.get and config.set, it feeds through the converters before setting/getting.
    • To get/set the raw value, access through config[].
  • Prerelease naming scheme is now x.x.x-dev.

Security Update

15 Nov 02:41
1c36d8a
Compare
Choose a tag to compare

Important

  • Supporter permission users used to be able to "hack" snippets to reveal all your config vars, including your token and MongoURI.
  • Implemented some changes to address this bug:
    • All customizable variables used in snippets, close messages, etc, using the {} syntax, now forbids chaining 2 or more attributes and attributes that starts with _.
  • It is advised to update to this version.
  • If you felt your credentials have been leaked, consider changing your bot token / mongo uri.

Bug Fix

15 Nov 02:41
Compare
Choose a tag to compare

Fixed

  • Can't set hex for main_color, recipient_color, etc.

Added

  • Discord colors by default when addressing them by names.

Stable Release

15 Nov 02:40
1465f8d
Compare
Choose a tag to compare

Added

  • Ability to change permission levels of individual commands.
    • See ?permissions override for more information.
  • thread_move_notify and thread_move_response to notify recipients if a thread is moved. (Thanks to Flufster PR#360)
  • IDs of messages sent to Modmail are now viewable. (Thanks to Flufster PR#360)

Fixed

  • ?help <some sub command>, will return Perhaps you meant: <some sub command>, now it's fixed.
    • For example, ?help add used to return Perhaps you meant: add, now it wouldn't do this.
  • Aliases and Permissions command names are always saved lowercase now.
  • An improved Dockerfile.

Internal

  • Use regex to parse Changes, Added, Fixed, etc and description.
  • Adds PermissionLevel.INVALID when commands don't have a permission level.