mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
feat: add automod thread_archive and thread_unarchive triggers (#292)
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
6709115166
commit
446f188e16
6 changed files with 160 additions and 1 deletions
|
@ -24,7 +24,11 @@ import { RunAutomodOnJoinEvt, RunAutomodOnLeaveEvt } from "./events/RunAutomodOn
|
|||
import { RunAutomodOnMemberUpdate } from "./events/RunAutomodOnMemberUpdate";
|
||||
import { runAutomodOnMessage } from "./events/runAutomodOnMessage";
|
||||
import { runAutomodOnModAction } from "./events/runAutomodOnModAction";
|
||||
import { RunAutomodOnThreadCreate, RunAutomodOnThreadDelete } from "./events/runAutomodOnThreadEvents";
|
||||
import {
|
||||
RunAutomodOnThreadCreate,
|
||||
RunAutomodOnThreadDelete,
|
||||
RunAutomodOnThreadUpdate,
|
||||
} from "./events/runAutomodOnThreadEvents";
|
||||
import { clearOldRecentNicknameChanges } from "./functions/clearOldNicknameChanges";
|
||||
import { clearOldRecentActions } from "./functions/clearOldRecentActions";
|
||||
import { clearOldRecentSpam } from "./functions/clearOldRecentSpam";
|
||||
|
@ -208,6 +212,7 @@ export const AutomodPlugin = zeppelinGuildPlugin<AutomodPluginType>()({
|
|||
RunAutomodOnLeaveEvt,
|
||||
RunAutomodOnThreadCreate,
|
||||
RunAutomodOnThreadDelete,
|
||||
RunAutomodOnThreadUpdate
|
||||
// Messages use message events from SavedMessages, see onLoad below
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue