From c19ca674d8120f5dbf055ad6512cad84f792978c Mon Sep 17 00:00:00 2001 From: almeidx Date: Sun, 14 Nov 2021 14:42:02 +0000 Subject: [PATCH] rebase shenanigans --- backend/src/plugins/Automod/AutomodPlugin.ts | 2 +- backend/src/plugins/Automod/types.ts | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/backend/src/plugins/Automod/AutomodPlugin.ts b/backend/src/plugins/Automod/AutomodPlugin.ts index 48a0afbf..1fff2a32 100644 --- a/backend/src/plugins/Automod/AutomodPlugin.ts +++ b/backend/src/plugins/Automod/AutomodPlugin.ts @@ -214,7 +214,7 @@ export const AutomodPlugin = zeppelinGuildPlugin()({ RunAutomodOnLeaveEvt, RunAutomodOnThreadCreate, RunAutomodOnThreadDelete, - RunAutomodOnThreadUpdate + RunAutomodOnThreadUpdate, RunAutomodOnVoiceStateUpdate, // Messages use message events from SavedMessages, see onLoad below ], diff --git a/backend/src/plugins/Automod/types.ts b/backend/src/plugins/Automod/types.ts index 601a442d..557d24c9 100644 --- a/backend/src/plugins/Automod/types.ts +++ b/backend/src/plugins/Automod/types.ts @@ -1,4 +1,12 @@ -import { GuildMember, PartialGuildMember, TextChannel, ThreadChannel, User } from "discord.js"; +import { + GuildMember, + PartialGuildMember, + StageChannel, + TextChannel, + ThreadChannel, + User, + VoiceChannel, +} from "discord.js"; import * as t from "io-ts"; import { BasePluginType, CooldownManager } from "knub"; import { SavedMessage } from "../../data/entities/SavedMessage";