discord.py v2!
Modmail v4 is out with support for discord.py v2 and a variety of miscellaneous changes.
Breaking
- Modmail now requires
Message Content
privileged intent. - Upgraded to discord.py v2.0 (internal changes, GH #2990).
- Python 3.8 or higher is required.
- Asyncio changes (gist)
- Plugin registry is purged and all developers have to re-apply due to breaking changes.
Added
use_hoisted_top_role
config to use change how default mod tags work, seev3.10.0#Added
for details. (PR #3093)require_close_reason
config to require a reason to close a thread. (GH #3107)plain_snippets
config to force all snippets to be plain. (GH #3083)?fpareply
and?fpreply
to reply to messages with variables plainly.use_nickname_channel_name
config to use nicknames instead of usernames for channel names. (GH #3112)use_random_channel_name
config to use random nicknames vaguely tied to user ID. It is unable to be computed in reverse. (GH #3143)show_log_url_button
config to show Log URL button. (GH #3122)- Select menus for certain paginators.
Title
field in?logs
. (GH #3142)- Snippets can be used in aliases. (GH #3108, PR #3124)
?snippet make/create
as aliases to?snippet add
. (GH #3172, PR #3174)
Improved
- Modmail now uses per-server avatars if applicable. (GH #3048)
- Use discord relative timedeltas. (GH #3046)
- Use discord native buttons for all paginator sessions.
?help
and?blocked
paginator sessions now have better multi-page UI.- Autoupdate now automatically updates pipenv dependencies if possible.
Fixed
- Several minor typos. (PR #3095, PR #3116)
- Certain cases where fallback categories were not working as intended. (PR #3109)
?contact
would create in a random category in silent mode. (GH #3091, PR #3092)- Certain cases where
?close
would fail if closer isn't in cache. (GH #3104, PR #3105) - Stickers now work in Modmail.
- Large server sizes results in Guild.name == None. (GH #3088)
- Attachments now work on plain replies. (GH #3102)
- Support LOTTIE stickers. (GH #3119)
- Editing notes now work. (GH #3094)
- Commands now work in threads.
- Audit log searching now properly works.
- Old data causing
?blocked
to fail. (GH #3131) - Delete channel auto close functionality now works.
- Improved error handling for autoupdate. (PR #3161)
- Skip loading of already-loaded cog. (PR #3172)
- Respect plugin's
cog_command_error
. (GH #3170, PR #3178) - Use silent as a typing literal for contacting. (GH #3179)
Internal
- Improve regex parsing of channel topics. (GH #3114, PR #3111)
- Add warning if deploying on a developmental version.
- Extensions are now loaded
on_connect
. - MongoDB v5.0 clients are now supported. (GH #3126)
- Bump python-dotenv to v0.20.0, support for python 3.10
- Bump emoji to v1.7.0
- Bump aiohttp to v3.8.1
- Bump lottie to v0.6.11
- Remove deprecated
core/decorators.py
from v3.3.0
Full Changelog: v3.10.2...v4.0.0