This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
v4.0.1
They changed an API again 😠 MessageDelete events do not contain author and content anymore in their partials, even when privileged intent is set to true. This is causing bugs when people delete messages that are not in the bot cache, because the karma system seems to be using the authorId for some reason in the SQL statement used to remove a previously granted point. Also, the moderation logger needs to take this into account and set a placeholder instead.
Also, v4.0.1 contains some WIPs that I was working on. In particular, I have deprecated the old linkchannel and threadchannel methods in the Server class and created a wrapper since I am adding a third type of threaded channel manager in the future: support channel.
Bug Fixes
- some messageDelete come without content (b1cdd9b)
Chore
- lint: configure deprecation rules for eslint (2d29171)
Refactor
- create channel managers (links, threads, support) (3b46473)