Releases
v3.1.0
Breaking
disable_recipient_thread_close
is removed, a new configuration variable recipient_thread_close
replaces it which defaults to False.
Truthy and falsy values for binary configuration variables are now interpreted respectfully.
LOG_URL_PREFIX
cannot be set to "NONE" to specify no additional path in the future, "/" is the new method.
Added
?sfw
, mark a thread as "safe for work", undos ?nsfw
.
New config variable, thread_auto_close_silently
, when set to a truthy value, no message will be sent when thread is auto-closed.
New configuration variable thread_self_closable_creation_footer
— the footer when recipient_thread_close
is enabled.
Added a minimalistic version of requirements.txt (named requirements.min.txt) that contains only the absolute minimum of Modmail.
For users having trouble with pipenv or any other reason.
Multi-step alias, see ?help alias add
. Public beta testing, might be unstable.
Misc commands without cogs are now displayed in ?help
.
?help
works for alias and snippets.
?config help <config-name>
shows a help embed for the configuration.
Support setting permissions for sub commands.
Support numbers (1-5) as substitutes for Permission Level REGULAR - OWNER in ?perms
sub commands.
Changes
thread_auto_close_response
has a configurable variable {timeout}
.
?snippet
is now the default command name instead of ?snippets
(?snippets
is still usable). This is to make this consistent with ?alias
/?aliases
.
colorama
is no longer a necessity, this is due to some unsupported OS.
Changelog command can now take a version argument to jump straight to specified version.
?plugin enabled
results are now sorted alphabetically.
?plugin registry
results are now sorted alphabetically, helps user find plugins more easily.
?plugin registry page-number
plugin registry can specify a page number for quick access.
A reworked interface for ?snippet
and ?alias
.
Add an ?snippet raw <name>
command for viewing the raw content of a snippet (escaped markdown).
Add an ?alias raw <name>
command for viewing the raw content of a alias (escaped markdown).
The placeholder channel for the streaming status changed to https://www.twitch.tv/discordmodmail/ .
Removed unclear rm
alias for some remove
commands.
Paginate ?config options
.
All users configured with a permission level greater than REGULAR has access to the main Modmail category.
Category overrides also changes when a level is removed or added to a user or role.
@everyone
is now accepted for ?perms add
.
Fixes
?notify
no longer carries over to the next thread.
discord.NotFound
errors for on_raw_reaction_add
.
mod_typing
and user_typing
(user_typing
is now by-design to show) will no longer show when user is blocked.
Better ?block
usage message.
Resolves errors when message was sent by mods after thread is closed somehow.
Recipient join/leave server messages are limited to only the guild set by GUILD_ID
.
When creating snippets and aliases, it now checks if another snippets/aliases with the same name exists.
Was looking for config.json
in the wrong directory.
Internal
Removed supporting code for GitHub interaction.
All default config values moved to core/config.py
.
config.cache
is no longer accessible, use config['key']
for getting, config['key'] = value
for setting, config.remove('key')
for removing.
Dynamic attribute for configs are removed, must use config['key']
or config.get('key')
.
Removed helper functions info()
and error()
for formatting logging, it's formatted automatically now.
Bumped discord.py version to 1.2.3.
Use discord tasks for metadata loop.
More debug based logging.
Reduce redundancies in ?perms
sub commands.
paginator been split into EmbedPaginatorSession
and MessagePaginatorSession
, both subclassing PaginatorSession
.
You can’t perform that action at this time.