3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-11 21:17:19 +00:00
This commit is contained in:
metal 2021-09-08 12:07:01 +00:00 committed by GitHub
parent 8dfa9aec2a
commit 9d93a11405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 116 additions and 3 deletions

View file

@ -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,
});