mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-11 21:17:19 +00:00
initial
This commit is contained in:
parent
8dfa9aec2a
commit
9d93a11405
4 changed files with 116 additions and 3 deletions
|
@ -6,6 +6,7 @@ import { AlertAction } from "./alert";
|
|||
import { ArchiveThreadAction } from "./archiveThread";
|
||||
import { BanAction } from "./ban";
|
||||
import { ChangeNicknameAction } from "./changeNickname";
|
||||
import { ChangeRolesAction } from "./changeRoles";
|
||||
import { CleanAction } from "./clean";
|
||||
import { KickAction } from "./kick";
|
||||
import { LogAction } from "./log";
|
||||
|
@ -34,6 +35,7 @@ export const availableActions: Record<string, AutomodActionBlueprint<any>> = {
|
|||
set_counter: SetCounterAction,
|
||||
set_slowmode: SetSlowmodeAction,
|
||||
archive_thread: ArchiveThreadAction,
|
||||
change_roles: ChangeRolesAction,
|
||||
};
|
||||
|
||||
export const AvailableActions = t.type({
|
||||
|
@ -53,4 +55,5 @@ export const AvailableActions = t.type({
|
|||
set_counter: SetCounterAction.configType,
|
||||
set_slowmode: SetSlowmodeAction.configType,
|
||||
archive_thread: ArchiveThreadAction.configType,
|
||||
change_roles: ChangeRolesAction.configType,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue