Highlights
- Enable or disable custom commands from the list. Each command on the custom commands page now has an on/off switch, so you don't need to open the command to change it. Works on mobile too.
- Word list rules show the matched word. The punishment reason now includes the word that triggered the rule and the list name, e.g.
`badword` in list `Slurs`. For whitelist rules, it readsnot in list. - Slash commands are logged in full. The executed commands log now shows the whole slash command with its options, e.g.
/role add user:… role:…, instead ofrole (slashcommand).
Changes to custom commands
- Removed the deprecated component message functions:
sendComponentMessage,sendComponentMessageRetID,sendComponentMessageNoEscape,sendComponentMessageNoEscapeRetID,editComponentMessageandeditComponentMessageNoEscape. UsesendMessage/editMessagewithcomplexMessageinstead. execruns as the right member.- In context menu commands it now runs as the member who used the menu, not the author of the targeted message.
- In role trigger commands it runs as the member who changed the roles.
- Delayed runs don't inherit mention permissions.
mentionEveryone,mentionHereandmentionRolesfrom the calling command no longer carry over toexecCCwith a delay orscheduleUniqueCC. Call them again in the scheduled command if it needs to ping. execCCwith no delay finishes before the calling command continues.sendTemplateandsendTemplateDMshare the calling command's limits. They now count toward its operation and memory limits instead of getting a fresh budget.- More functions count toward the DM limit. Messages sent to a DM channel with
sendMessageand similar functions now count toward thesendDMlimit. .TargetMemberis a Member. In context menu and role trigger commands it was a MemberState. In context menu commands it is nil if the target isn't in the server.- Edit-triggered commands: only commands with "trigger on edit" count toward the per-message run limit, so other matching commands no longer stop them from running.
Moderation
- Moderation commands now show an error asking you to try again if the bot can't look up the target, instead of skipping the role hierarchy check.
giveroleno longer gives roles that have permissions the person running it doesn't have.giverolenow cancels the target's pending timed role add. It used to cancel the invoker's.
Tickets
- Adding or removing members and renaming a ticket now require ticket staff: ticket mod or admin roles, or Manage Channels.
- Closing a ticket requires the ticket author or ticket staff.
adminsonlyrequires ticket admin: ticket admin roles, Manage Server or Administrator.
Other commands
- Trivia no longer breaks on button clicks or bad questions, shows a clear error when it can't fetch a question, and ends rounds on the timer.
Control panel
-
Role commands can only be created for, or changed to, roles below your own highest role.
-
The message creator only loads existing messages from channels you can read in Discord, and requires write access.
-
A few other performance and bug fixes.
Full Changelog: v2.95.4...v2.96.0