Releases: modmail-dev/Modmail
Releases · modmail-dev/Modmail
Major 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
.
- When set, all non-command messages sent to thread channels are forwarded to the recipient anonymously without the need of
?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
whileenabled
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
andconfig.set
, it feeds through the converters before setting/getting.- To get/set the raw value, access through
config[]
.
- To get/set the raw value, access through
- Prerelease naming scheme is now
x.x.x-devN
. trigger_typing
has been moved tocore.utils.trigger_typing
, the original location is deprecated.- Simpler status and activity logic.
- New logging logic.
Dev 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
Nothing New.
Dev 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
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
.
- When set, all non-command messages sent to thread channels are forwarded to the recipient anonymously without the need of
?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
whileenabled
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
andconfig.set
, it feeds through the converters before setting/getting.- To get/set the raw value, access through
config[]
.
- To get/set the raw value, access through
- Prerelease naming scheme is now
x.x.x-devN
. trigger_typing
has been moved tocore.utils.trigger_typing
, original location is deprecated.- Simpler status and activity logic.
Dev 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
.
- When set, all non-command messages sent to thread channels are forwarded to the recipient anonymously without the need of
?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
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
whileenabled
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
andconfig.set
, it feeds through the converters before setting/getting.- To get/set the raw value, access through
config[]
.
- To get/set the raw value, access through
- Prerelease naming scheme is now
x.x.x-dev
.
Security Update
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_
.
- All customizable variables used in snippets, close messages, etc, using the
- 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
Stable Release
Added
- Ability to change permission levels of individual commands.
- See
?permissions override
for more information.
- See
thread_move_notify
andthread_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 returnPerhaps you meant: <some sub command>
, now it's fixed.- For example,
?help add
used to returnPerhaps you meant: add
, now it wouldn't do this.
- For example,
- 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.