mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
feat: add automod start_thread action (#274)
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
92dfbca362
commit
f9c0e661af
3 changed files with 100 additions and 0 deletions
|
@ -15,6 +15,7 @@ import { ReplyAction } from "./reply";
|
|||
import { SetAntiraidLevelAction } from "./setAntiraidLevel";
|
||||
import { SetCounterAction } from "./setCounter";
|
||||
import { SetSlowmodeAction } from "./setSlowmode";
|
||||
import { StartThreadAction } from "./startThread";
|
||||
import { WarnAction } from "./warn";
|
||||
|
||||
export const availableActions: Record<string, AutomodActionBlueprint<any>> = {
|
||||
|
@ -33,6 +34,7 @@ export const availableActions: Record<string, AutomodActionBlueprint<any>> = {
|
|||
add_to_counter: AddToCounterAction,
|
||||
set_counter: SetCounterAction,
|
||||
set_slowmode: SetSlowmodeAction,
|
||||
start_thread: StartThreadAction,
|
||||
archive_thread: ArchiveThreadAction,
|
||||
};
|
||||
|
||||
|
@ -52,5 +54,6 @@ export const AvailableActions = t.type({
|
|||
add_to_counter: AddToCounterAction.configType,
|
||||
set_counter: SetCounterAction.configType,
|
||||
set_slowmode: SetSlowmodeAction.configType,
|
||||
start_thread: StartThreadAction.configType,
|
||||
archive_thread: ArchiveThreadAction.configType,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue