Releases: zaanposni/discord-masz
Version 2.1
Version 2.1
Features
- Link Automod. Added a link automod that triggers on http/https links. You can also allow certain links.
- Duplicated characters Automod. Added a automod that triggers on duplicated characters even with linebreaks. This also recognizes "empty" messages.
- Invite Automod filter. Added a filter to the invite automod to allow certain guilds.
Fixes
- Improved UX. The custom filter field in automod configuration is now bigger so everything is readable.
- Error on modcase ban create. Fixed a bug that caused api calls for ban modcases to fail.
- Display of last moderator. Fixed a bug where the "Last edit by moderator..." field was visible even though there were no edit at all.
- Time display. Adjusted some places on the website where the configured timezone was not used.
- Improved punish slashcommand. Renamed warn option from "None" to "Warn".
Version 2.0
Version 2 is finally ready.
I have written a gist about the needed migration steps and everything that changed.
https://gist.github.com/zaanposni/340d7f3d313867cda877f3147ff04a53
Version 1.13.1
Breaking changes
- Spam automod uses seconds. The spam automoderation now uses seconds instead of minutes. Please change your current configuration if needed.
Fixes
- Cleanup mode choices. Added choices to cleanup command to improve UX.
- Fixed errors in track command. Command does not longer fail on valid unused invite.
- Added error message to report command. The report command will now respond with an error if there is no internal webhook configured.
- Defering commands. Slash commands will now be defered if they take too long to avoid errors.
Technical
- Security warnings. Adjusted a nuget dependency to fix vulnerabilities.
Contributors
Special thanks to
- @FlixProd for ideas and coding
- Bricksmaster#7130 for ideas and testing
Version 1.13
Features
- OAuth error page. An error page has been added to catch the failure of the discord oauth login.
- Copy token button. A button has been added to copy a new API token to your clipboard.
- Invitescan. Userscanning has been extended to support invites as input as well and is now called "Scanning".
- Invitetracking command. Added the command $track to view insights of an invite on your guild.
- Spam automoderation. Added automoderation for spam. Trigger on x messages in y minutes.
- Mentioning contributors. Contributors are now mentioned here. Thank you all <3.
- Cleanup command. Added the command $cleanup to tidy up guild channels.
- Slash commands. MASZ is now supporting slash commands. Be sure to authorize your bot with the "applications.commands" scope.
Fixes
- Whois embed. Fixed a bug that caused the content of the embed to be too long.
- Automoderation presentation. Swapped icons for attachment and embed automoderation events. I even believe that was never planned to be like this :D
- Button misalignment. Fixed a css bug that caused the buttons to be aligned incorrectly.
- Improved bot logging. The logging of the "masz_discordbot" container was improved. The library "rich" is used now to format logs.
Technical
- Security warnings. Adjusted several npm dependencies to fix vulnerabilities.
Contributors
Special thanks to
- @knabb215 for ideas and testing
- @BS-scripter for coding
Note
To use slash commands you will have to reauthorize your bot in your guild(s)!
There is no leaving/kicking/configuration requried, just visit the following link in your browser (replace the <client_id>
)
https://discord.com/oauth2/authorize?scope=applications.commands&client_id=<client_id>
Version 1.12.1
Features
- Guild icons. Default and animated guilds are now supported on the website.
- Links in patchnotes. Patchnotes now support links to refer to further resources.
Fixes
- Intuitive dates. The website now uses a months name instead of a number to ensure a less error-prone transmission of information.
- API changes. Usernotes are now deletable by userid and not by resource id. Models on PUT, POST and DELETE requests are now fully returned instead of the ID only.
Technical
- API Wrapper. A python library to integrate the MASZ API in your project has been released.
- Cookie service. MASZ has not been using cookies for quite some time, the code to read cookies has now been removed as well.
Version 1.12
Features
- Hide moderator info. The publication of moderator information can now be deactivated on guild level.
- $cases command. The new $cases command allows users to view a list of their modcases and active punishments without logging in to MASZ.
- $view command. The new $view command allows users to view details of their modcase without logging in to MASZ.
Fixes
- Use correct bot prefix. Bot output and help pages now use configured bot prefix instead of default "$".
- Improved help command. Help command now displays parameters more intuitive. More help for durations and user parameters.
- Intuitive dates. The bot now uses a months abbreviated name instead of a number to ensure a less error-prone transmission of information.
- Fixed multiple files upload. Fixed a bug that uploaded files several times if the upload button was used more than once.
- Better error messages for $warn and $kick. API error will now be displayed if $warn or $kick is used.
Technical
- Upgraded RestSharp to v106.12.0
Version 1.11.7
-
Styled patchnotes. Patchnotes got a brand new style.
-
Custom word filter. Added a custom word filter for automoderation.
-
More complexe help. Added help pages for each command to the discordbot.
-
Temporary punishments. Added a tempban and tempmute command to the discordbot.
-
404 - Page. Added a cool picture to the 404 error page.
-
Automoderation bugged. A bug was fixed that prevented the display of the automod event log.
-
Case creation info. Added more information about the case creation type to the modcase view.
Version 1.11.6
- Added a clear cache button in the insights dashboard.
- Adjusted some error messages to be clearer.
Version 1.11.5
- Fixed dependency vulnerabilities.
- Allowing discordapp.com and discord.com as webhooks in guildconfig.
Version 1.11.4.1
- Fixed a bug in auto whois.