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";