gubo-data-types 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,11 +11,16 @@ export interface ModerationKickCommandConfig extends ModerationCommandConfigBase
|
|
|
11
11
|
reason?: string;
|
|
12
12
|
}>;
|
|
13
13
|
roleKickEnabled?: boolean;
|
|
14
|
-
|
|
14
|
+
skippedRolesForMassKick?: string[];
|
|
15
15
|
}
|
|
16
16
|
export interface ModerationBanCommandConfig extends ModerationCommandConfigBase {
|
|
17
17
|
deleteMessageDays?: number;
|
|
18
18
|
durationDays?: number;
|
|
19
|
+
banAppeal?: BanAppealConfig;
|
|
20
|
+
}
|
|
21
|
+
export interface BanAppealConfig {
|
|
22
|
+
appealEnabled?: boolean;
|
|
23
|
+
appealChannelId?: string | null;
|
|
19
24
|
}
|
|
20
25
|
export type ModerationSlashCommandConfig = {
|
|
21
26
|
name: 'kick';
|
|
@@ -51,5 +56,6 @@ export interface ModerationPluginConfig {
|
|
|
51
56
|
updatedBy?: string | null;
|
|
52
57
|
version?: number;
|
|
53
58
|
slashCommands?: ModerationSlashCommandConfig[];
|
|
59
|
+
banAppeal?: BanAppealConfig;
|
|
54
60
|
}
|
|
55
61
|
export declare const DEFAULT_MODERATION: ModerationPluginConfig;
|
|
@@ -5,7 +5,7 @@ exports.DEFAULT_MODERATION = {
|
|
|
5
5
|
enabled: false,
|
|
6
6
|
logChannelId: null,
|
|
7
7
|
modRoleIds: [],
|
|
8
|
-
banDeleteDaysMessages:
|
|
8
|
+
banDeleteDaysMessages: 0,
|
|
9
9
|
dmInKickMessage: null,
|
|
10
10
|
autoModFilters: {
|
|
11
11
|
spam: false,
|
|
@@ -39,7 +39,7 @@ exports.DEFAULT_MODERATION = {
|
|
|
39
39
|
silent: true,
|
|
40
40
|
scheduledKicks: [],
|
|
41
41
|
roleKickEnabled: false,
|
|
42
|
-
|
|
42
|
+
skippedRolesForMassKick: [],
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -52,7 +52,15 @@ exports.DEFAULT_MODERATION = {
|
|
|
52
52
|
silent: true,
|
|
53
53
|
deleteMessageDays: 0,
|
|
54
54
|
durationDays: 0,
|
|
55
|
+
banAppeal: {
|
|
56
|
+
appealEnabled: false,
|
|
57
|
+
appealChannelId: null
|
|
58
|
+
}
|
|
55
59
|
}
|
|
56
60
|
}
|
|
57
|
-
]
|
|
61
|
+
],
|
|
62
|
+
banAppeal: {
|
|
63
|
+
appealEnabled: false,
|
|
64
|
+
appealChannelId: null
|
|
65
|
+
}
|
|
58
66
|
};
|