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:
parent
94870ef85d
commit
59ef2e6fec
3 changed files with 41 additions and 0 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue