3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 20:55:01 +00:00

Fix rejoin mutes not working

This commit is contained in:
Dark 2020-07-29 01:14:02 +02:00
parent 94870ef85d
commit 59ef2e6fec
3 changed files with 41 additions and 0 deletions

View file

@ -15,6 +15,8 @@ import { muteUser } from "./functions/muteUser";
import { unmuteUser } from "./functions/unmuteUser";
import { CaseArgs } from "../Cases/types";
import { Member } from "eris";
import { ClearActiveMuteOnMemberBanEvt } from "./events/ClearActiveMuteOnMemberBanEvt";
import { ReapplyActiveMuteOnJoinEvt } from "./events/ReapplyActiveMuteOnJoinEvt";
const defaultOptions = {
config: {
@ -70,6 +72,8 @@ export const MutesPlugin = zeppelinPlugin<MutesPluginType>()("mutes", {
// prettier-ignore
events: [
ClearActiveMuteOnRoleRemovalEvt,
ClearActiveMuteOnMemberBanEvt,
ReapplyActiveMuteOnJoinEvt,
],
public: {