@fnlb-project/database 1.0.37 → 1.0.39
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.
- package/dist/index.d.ts +247 -234
- package/dist/index.js +455 -447
- package/package.json +9 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { GenericErrorSender } from '@fnlb-project/shared/errors';
|
|
4
|
+
import { CategoryConfigSupportedPlatforms, Locales } from '@fnlb-project/shared/types';
|
|
4
5
|
import { Schema } from 'mongoose';
|
|
5
6
|
|
|
6
7
|
export declare class DatabaseClient {
|
|
@@ -96,11 +97,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
96
97
|
flags?: number | null | undefined;
|
|
97
98
|
managed?: boolean | null | undefined;
|
|
98
99
|
config?: {
|
|
99
|
-
replyLangs?:
|
|
100
|
-
searchLangs?:
|
|
101
|
-
platform?:
|
|
100
|
+
replyLangs?: Locales[] | null | undefined;
|
|
101
|
+
searchLangs?: Locales[] | null | undefined;
|
|
102
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
102
103
|
privacy?: any;
|
|
103
104
|
prefixes?: string[] | null | undefined;
|
|
105
|
+
statusType?: any;
|
|
104
106
|
statusText?: string[] | null | undefined;
|
|
105
107
|
statusInterval?: number | null | undefined;
|
|
106
108
|
level?: number[] | null | undefined;
|
|
@@ -201,118 +203,119 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
201
203
|
setCosmeticsWithoutCommands?: boolean | null | undefined;
|
|
202
204
|
setCosmeticsWithPrefix?: boolean | null | undefined;
|
|
203
205
|
acceptInvites?: boolean | null | undefined;
|
|
206
|
+
startBannedBots?: boolean | null | undefined;
|
|
204
207
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
205
208
|
_id?: unknown;
|
|
206
209
|
triggers?: string[] | null | undefined;
|
|
207
|
-
detectionMethods?:
|
|
208
|
-
actions?:
|
|
210
|
+
detectionMethods?: any[] | null | undefined;
|
|
211
|
+
actions?: any[] | null | undefined;
|
|
209
212
|
messages?: string[] | null | undefined;
|
|
210
213
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
211
214
|
_id?: unknown;
|
|
212
215
|
triggers?: string[] | null | undefined;
|
|
213
|
-
detectionMethods?:
|
|
214
|
-
actions?:
|
|
216
|
+
detectionMethods?: any[] | null | undefined;
|
|
217
|
+
actions?: any[] | null | undefined;
|
|
215
218
|
messages?: string[] | null | undefined;
|
|
216
219
|
}> & {
|
|
217
220
|
_id?: unknown;
|
|
218
221
|
triggers?: string[] | null | undefined;
|
|
219
|
-
detectionMethods?:
|
|
220
|
-
actions?:
|
|
222
|
+
detectionMethods?: any[] | null | undefined;
|
|
223
|
+
actions?: any[] | null | undefined;
|
|
221
224
|
messages?: string[] | null | undefined;
|
|
222
225
|
}> | null | undefined;
|
|
223
226
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
224
227
|
_id?: unknown;
|
|
225
228
|
triggers?: string[] | null | undefined;
|
|
226
|
-
detectionMethods?:
|
|
227
|
-
actions?:
|
|
229
|
+
detectionMethods?: any[] | null | undefined;
|
|
230
|
+
actions?: any[] | null | undefined;
|
|
228
231
|
messages?: string[] | null | undefined;
|
|
229
232
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
230
233
|
_id?: unknown;
|
|
231
234
|
triggers?: string[] | null | undefined;
|
|
232
|
-
detectionMethods?:
|
|
233
|
-
actions?:
|
|
235
|
+
detectionMethods?: any[] | null | undefined;
|
|
236
|
+
actions?: any[] | null | undefined;
|
|
234
237
|
messages?: string[] | null | undefined;
|
|
235
238
|
}> & {
|
|
236
239
|
_id?: unknown;
|
|
237
240
|
triggers?: string[] | null | undefined;
|
|
238
|
-
detectionMethods?:
|
|
239
|
-
actions?:
|
|
241
|
+
detectionMethods?: any[] | null | undefined;
|
|
242
|
+
actions?: any[] | null | undefined;
|
|
240
243
|
messages?: string[] | null | undefined;
|
|
241
244
|
}> | null | undefined;
|
|
242
245
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
243
246
|
_id?: unknown;
|
|
244
247
|
triggers?: string[] | null | undefined;
|
|
245
|
-
detectionMethods?:
|
|
246
|
-
actions?:
|
|
248
|
+
detectionMethods?: any[] | null | undefined;
|
|
249
|
+
actions?: any[] | null | undefined;
|
|
247
250
|
messages?: string[] | null | undefined;
|
|
248
251
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
249
252
|
_id?: unknown;
|
|
250
253
|
triggers?: string[] | null | undefined;
|
|
251
|
-
detectionMethods?:
|
|
252
|
-
actions?:
|
|
254
|
+
detectionMethods?: any[] | null | undefined;
|
|
255
|
+
actions?: any[] | null | undefined;
|
|
253
256
|
messages?: string[] | null | undefined;
|
|
254
257
|
}> & {
|
|
255
258
|
_id?: unknown;
|
|
256
259
|
triggers?: string[] | null | undefined;
|
|
257
|
-
detectionMethods?:
|
|
258
|
-
actions?:
|
|
260
|
+
detectionMethods?: any[] | null | undefined;
|
|
261
|
+
actions?: any[] | null | undefined;
|
|
259
262
|
messages?: string[] | null | undefined;
|
|
260
263
|
}> | null | undefined;
|
|
261
264
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
262
265
|
_id?: unknown;
|
|
263
266
|
triggers?: string[] | null | undefined;
|
|
264
|
-
detectionMethods?:
|
|
265
|
-
actions?:
|
|
267
|
+
detectionMethods?: any[] | null | undefined;
|
|
268
|
+
actions?: any[] | null | undefined;
|
|
266
269
|
messages?: string[] | null | undefined;
|
|
267
270
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
268
271
|
_id?: unknown;
|
|
269
272
|
triggers?: string[] | null | undefined;
|
|
270
|
-
detectionMethods?:
|
|
271
|
-
actions?:
|
|
273
|
+
detectionMethods?: any[] | null | undefined;
|
|
274
|
+
actions?: any[] | null | undefined;
|
|
272
275
|
messages?: string[] | null | undefined;
|
|
273
276
|
}> & {
|
|
274
277
|
_id?: unknown;
|
|
275
278
|
triggers?: string[] | null | undefined;
|
|
276
|
-
detectionMethods?:
|
|
277
|
-
actions?:
|
|
279
|
+
detectionMethods?: any[] | null | undefined;
|
|
280
|
+
actions?: any[] | null | undefined;
|
|
278
281
|
messages?: string[] | null | undefined;
|
|
279
282
|
}> | null | undefined;
|
|
280
283
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
281
284
|
_id?: unknown;
|
|
282
285
|
triggers?: string[] | null | undefined;
|
|
283
|
-
detectionMethods?:
|
|
284
|
-
actions?:
|
|
286
|
+
detectionMethods?: any[] | null | undefined;
|
|
287
|
+
actions?: any[] | null | undefined;
|
|
285
288
|
messages?: string[] | null | undefined;
|
|
286
289
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
287
290
|
_id?: unknown;
|
|
288
291
|
triggers?: string[] | null | undefined;
|
|
289
|
-
detectionMethods?:
|
|
290
|
-
actions?:
|
|
292
|
+
detectionMethods?: any[] | null | undefined;
|
|
293
|
+
actions?: any[] | null | undefined;
|
|
291
294
|
messages?: string[] | null | undefined;
|
|
292
295
|
}> & {
|
|
293
296
|
_id?: unknown;
|
|
294
297
|
triggers?: string[] | null | undefined;
|
|
295
|
-
detectionMethods?:
|
|
296
|
-
actions?:
|
|
298
|
+
detectionMethods?: any[] | null | undefined;
|
|
299
|
+
actions?: any[] | null | undefined;
|
|
297
300
|
messages?: string[] | null | undefined;
|
|
298
301
|
}> | null | undefined;
|
|
299
302
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
300
303
|
_id?: unknown;
|
|
301
304
|
triggers?: string[] | null | undefined;
|
|
302
|
-
detectionMethods?:
|
|
303
|
-
actions?:
|
|
305
|
+
detectionMethods?: any[] | null | undefined;
|
|
306
|
+
actions?: any[] | null | undefined;
|
|
304
307
|
messages?: string[] | null | undefined;
|
|
305
308
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
306
309
|
_id?: unknown;
|
|
307
310
|
triggers?: string[] | null | undefined;
|
|
308
|
-
detectionMethods?:
|
|
309
|
-
actions?:
|
|
311
|
+
detectionMethods?: any[] | null | undefined;
|
|
312
|
+
actions?: any[] | null | undefined;
|
|
310
313
|
messages?: string[] | null | undefined;
|
|
311
314
|
}> & {
|
|
312
315
|
_id?: unknown;
|
|
313
316
|
triggers?: string[] | null | undefined;
|
|
314
|
-
detectionMethods?:
|
|
315
|
-
actions?:
|
|
317
|
+
detectionMethods?: any[] | null | undefined;
|
|
318
|
+
actions?: any[] | null | undefined;
|
|
316
319
|
messages?: string[] | null | undefined;
|
|
317
320
|
}> | null | undefined;
|
|
318
321
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -564,11 +567,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
564
567
|
flags?: number | null | undefined;
|
|
565
568
|
managed?: boolean | null | undefined;
|
|
566
569
|
config?: {
|
|
567
|
-
replyLangs?:
|
|
568
|
-
searchLangs?:
|
|
569
|
-
platform?:
|
|
570
|
+
replyLangs?: Locales[] | null | undefined;
|
|
571
|
+
searchLangs?: Locales[] | null | undefined;
|
|
572
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
570
573
|
privacy?: any;
|
|
571
574
|
prefixes?: string[] | null | undefined;
|
|
575
|
+
statusType?: any;
|
|
572
576
|
statusText?: string[] | null | undefined;
|
|
573
577
|
statusInterval?: number | null | undefined;
|
|
574
578
|
level?: number[] | null | undefined;
|
|
@@ -669,118 +673,119 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
669
673
|
setCosmeticsWithoutCommands?: boolean | null | undefined;
|
|
670
674
|
setCosmeticsWithPrefix?: boolean | null | undefined;
|
|
671
675
|
acceptInvites?: boolean | null | undefined;
|
|
676
|
+
startBannedBots?: boolean | null | undefined;
|
|
672
677
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
673
678
|
_id?: unknown;
|
|
674
679
|
triggers?: string[] | null | undefined;
|
|
675
|
-
detectionMethods?:
|
|
676
|
-
actions?:
|
|
680
|
+
detectionMethods?: any[] | null | undefined;
|
|
681
|
+
actions?: any[] | null | undefined;
|
|
677
682
|
messages?: string[] | null | undefined;
|
|
678
683
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
679
684
|
_id?: unknown;
|
|
680
685
|
triggers?: string[] | null | undefined;
|
|
681
|
-
detectionMethods?:
|
|
682
|
-
actions?:
|
|
686
|
+
detectionMethods?: any[] | null | undefined;
|
|
687
|
+
actions?: any[] | null | undefined;
|
|
683
688
|
messages?: string[] | null | undefined;
|
|
684
689
|
}> & {
|
|
685
690
|
_id?: unknown;
|
|
686
691
|
triggers?: string[] | null | undefined;
|
|
687
|
-
detectionMethods?:
|
|
688
|
-
actions?:
|
|
692
|
+
detectionMethods?: any[] | null | undefined;
|
|
693
|
+
actions?: any[] | null | undefined;
|
|
689
694
|
messages?: string[] | null | undefined;
|
|
690
695
|
}> | null | undefined;
|
|
691
696
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
692
697
|
_id?: unknown;
|
|
693
698
|
triggers?: string[] | null | undefined;
|
|
694
|
-
detectionMethods?:
|
|
695
|
-
actions?:
|
|
699
|
+
detectionMethods?: any[] | null | undefined;
|
|
700
|
+
actions?: any[] | null | undefined;
|
|
696
701
|
messages?: string[] | null | undefined;
|
|
697
702
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
698
703
|
_id?: unknown;
|
|
699
704
|
triggers?: string[] | null | undefined;
|
|
700
|
-
detectionMethods?:
|
|
701
|
-
actions?:
|
|
705
|
+
detectionMethods?: any[] | null | undefined;
|
|
706
|
+
actions?: any[] | null | undefined;
|
|
702
707
|
messages?: string[] | null | undefined;
|
|
703
708
|
}> & {
|
|
704
709
|
_id?: unknown;
|
|
705
710
|
triggers?: string[] | null | undefined;
|
|
706
|
-
detectionMethods?:
|
|
707
|
-
actions?:
|
|
711
|
+
detectionMethods?: any[] | null | undefined;
|
|
712
|
+
actions?: any[] | null | undefined;
|
|
708
713
|
messages?: string[] | null | undefined;
|
|
709
714
|
}> | null | undefined;
|
|
710
715
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
711
716
|
_id?: unknown;
|
|
712
717
|
triggers?: string[] | null | undefined;
|
|
713
|
-
detectionMethods?:
|
|
714
|
-
actions?:
|
|
718
|
+
detectionMethods?: any[] | null | undefined;
|
|
719
|
+
actions?: any[] | null | undefined;
|
|
715
720
|
messages?: string[] | null | undefined;
|
|
716
721
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
717
722
|
_id?: unknown;
|
|
718
723
|
triggers?: string[] | null | undefined;
|
|
719
|
-
detectionMethods?:
|
|
720
|
-
actions?:
|
|
724
|
+
detectionMethods?: any[] | null | undefined;
|
|
725
|
+
actions?: any[] | null | undefined;
|
|
721
726
|
messages?: string[] | null | undefined;
|
|
722
727
|
}> & {
|
|
723
728
|
_id?: unknown;
|
|
724
729
|
triggers?: string[] | null | undefined;
|
|
725
|
-
detectionMethods?:
|
|
726
|
-
actions?:
|
|
730
|
+
detectionMethods?: any[] | null | undefined;
|
|
731
|
+
actions?: any[] | null | undefined;
|
|
727
732
|
messages?: string[] | null | undefined;
|
|
728
733
|
}> | null | undefined;
|
|
729
734
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
730
735
|
_id?: unknown;
|
|
731
736
|
triggers?: string[] | null | undefined;
|
|
732
|
-
detectionMethods?:
|
|
733
|
-
actions?:
|
|
737
|
+
detectionMethods?: any[] | null | undefined;
|
|
738
|
+
actions?: any[] | null | undefined;
|
|
734
739
|
messages?: string[] | null | undefined;
|
|
735
740
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
736
741
|
_id?: unknown;
|
|
737
742
|
triggers?: string[] | null | undefined;
|
|
738
|
-
detectionMethods?:
|
|
739
|
-
actions?:
|
|
743
|
+
detectionMethods?: any[] | null | undefined;
|
|
744
|
+
actions?: any[] | null | undefined;
|
|
740
745
|
messages?: string[] | null | undefined;
|
|
741
746
|
}> & {
|
|
742
747
|
_id?: unknown;
|
|
743
748
|
triggers?: string[] | null | undefined;
|
|
744
|
-
detectionMethods?:
|
|
745
|
-
actions?:
|
|
749
|
+
detectionMethods?: any[] | null | undefined;
|
|
750
|
+
actions?: any[] | null | undefined;
|
|
746
751
|
messages?: string[] | null | undefined;
|
|
747
752
|
}> | null | undefined;
|
|
748
753
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
749
754
|
_id?: unknown;
|
|
750
755
|
triggers?: string[] | null | undefined;
|
|
751
|
-
detectionMethods?:
|
|
752
|
-
actions?:
|
|
756
|
+
detectionMethods?: any[] | null | undefined;
|
|
757
|
+
actions?: any[] | null | undefined;
|
|
753
758
|
messages?: string[] | null | undefined;
|
|
754
759
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
755
760
|
_id?: unknown;
|
|
756
761
|
triggers?: string[] | null | undefined;
|
|
757
|
-
detectionMethods?:
|
|
758
|
-
actions?:
|
|
762
|
+
detectionMethods?: any[] | null | undefined;
|
|
763
|
+
actions?: any[] | null | undefined;
|
|
759
764
|
messages?: string[] | null | undefined;
|
|
760
765
|
}> & {
|
|
761
766
|
_id?: unknown;
|
|
762
767
|
triggers?: string[] | null | undefined;
|
|
763
|
-
detectionMethods?:
|
|
764
|
-
actions?:
|
|
768
|
+
detectionMethods?: any[] | null | undefined;
|
|
769
|
+
actions?: any[] | null | undefined;
|
|
765
770
|
messages?: string[] | null | undefined;
|
|
766
771
|
}> | null | undefined;
|
|
767
772
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
768
773
|
_id?: unknown;
|
|
769
774
|
triggers?: string[] | null | undefined;
|
|
770
|
-
detectionMethods?:
|
|
771
|
-
actions?:
|
|
775
|
+
detectionMethods?: any[] | null | undefined;
|
|
776
|
+
actions?: any[] | null | undefined;
|
|
772
777
|
messages?: string[] | null | undefined;
|
|
773
778
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
774
779
|
_id?: unknown;
|
|
775
780
|
triggers?: string[] | null | undefined;
|
|
776
|
-
detectionMethods?:
|
|
777
|
-
actions?:
|
|
781
|
+
detectionMethods?: any[] | null | undefined;
|
|
782
|
+
actions?: any[] | null | undefined;
|
|
778
783
|
messages?: string[] | null | undefined;
|
|
779
784
|
}> & {
|
|
780
785
|
_id?: unknown;
|
|
781
786
|
triggers?: string[] | null | undefined;
|
|
782
|
-
detectionMethods?:
|
|
783
|
-
actions?:
|
|
787
|
+
detectionMethods?: any[] | null | undefined;
|
|
788
|
+
actions?: any[] | null | undefined;
|
|
784
789
|
messages?: string[] | null | undefined;
|
|
785
790
|
}> | null | undefined;
|
|
786
791
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -1032,11 +1037,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1032
1037
|
flags?: number | null | undefined;
|
|
1033
1038
|
managed?: boolean | null | undefined;
|
|
1034
1039
|
config?: {
|
|
1035
|
-
replyLangs?:
|
|
1036
|
-
searchLangs?:
|
|
1037
|
-
platform?:
|
|
1040
|
+
replyLangs?: Locales[] | null | undefined;
|
|
1041
|
+
searchLangs?: Locales[] | null | undefined;
|
|
1042
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
1038
1043
|
privacy?: any;
|
|
1039
1044
|
prefixes?: string[] | null | undefined;
|
|
1045
|
+
statusType?: any;
|
|
1040
1046
|
statusText?: string[] | null | undefined;
|
|
1041
1047
|
statusInterval?: number | null | undefined;
|
|
1042
1048
|
level?: number[] | null | undefined;
|
|
@@ -1137,118 +1143,119 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1137
1143
|
setCosmeticsWithoutCommands?: boolean | null | undefined;
|
|
1138
1144
|
setCosmeticsWithPrefix?: boolean | null | undefined;
|
|
1139
1145
|
acceptInvites?: boolean | null | undefined;
|
|
1146
|
+
startBannedBots?: boolean | null | undefined;
|
|
1140
1147
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1141
1148
|
_id?: unknown;
|
|
1142
1149
|
triggers?: string[] | null | undefined;
|
|
1143
|
-
detectionMethods?:
|
|
1144
|
-
actions?:
|
|
1150
|
+
detectionMethods?: any[] | null | undefined;
|
|
1151
|
+
actions?: any[] | null | undefined;
|
|
1145
1152
|
messages?: string[] | null | undefined;
|
|
1146
1153
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1147
1154
|
_id?: unknown;
|
|
1148
1155
|
triggers?: string[] | null | undefined;
|
|
1149
|
-
detectionMethods?:
|
|
1150
|
-
actions?:
|
|
1156
|
+
detectionMethods?: any[] | null | undefined;
|
|
1157
|
+
actions?: any[] | null | undefined;
|
|
1151
1158
|
messages?: string[] | null | undefined;
|
|
1152
1159
|
}> & {
|
|
1153
1160
|
_id?: unknown;
|
|
1154
1161
|
triggers?: string[] | null | undefined;
|
|
1155
|
-
detectionMethods?:
|
|
1156
|
-
actions?:
|
|
1162
|
+
detectionMethods?: any[] | null | undefined;
|
|
1163
|
+
actions?: any[] | null | undefined;
|
|
1157
1164
|
messages?: string[] | null | undefined;
|
|
1158
1165
|
}> | null | undefined;
|
|
1159
1166
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1160
1167
|
_id?: unknown;
|
|
1161
1168
|
triggers?: string[] | null | undefined;
|
|
1162
|
-
detectionMethods?:
|
|
1163
|
-
actions?:
|
|
1169
|
+
detectionMethods?: any[] | null | undefined;
|
|
1170
|
+
actions?: any[] | null | undefined;
|
|
1164
1171
|
messages?: string[] | null | undefined;
|
|
1165
1172
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1166
1173
|
_id?: unknown;
|
|
1167
1174
|
triggers?: string[] | null | undefined;
|
|
1168
|
-
detectionMethods?:
|
|
1169
|
-
actions?:
|
|
1175
|
+
detectionMethods?: any[] | null | undefined;
|
|
1176
|
+
actions?: any[] | null | undefined;
|
|
1170
1177
|
messages?: string[] | null | undefined;
|
|
1171
1178
|
}> & {
|
|
1172
1179
|
_id?: unknown;
|
|
1173
1180
|
triggers?: string[] | null | undefined;
|
|
1174
|
-
detectionMethods?:
|
|
1175
|
-
actions?:
|
|
1181
|
+
detectionMethods?: any[] | null | undefined;
|
|
1182
|
+
actions?: any[] | null | undefined;
|
|
1176
1183
|
messages?: string[] | null | undefined;
|
|
1177
1184
|
}> | null | undefined;
|
|
1178
1185
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1179
1186
|
_id?: unknown;
|
|
1180
1187
|
triggers?: string[] | null | undefined;
|
|
1181
|
-
detectionMethods?:
|
|
1182
|
-
actions?:
|
|
1188
|
+
detectionMethods?: any[] | null | undefined;
|
|
1189
|
+
actions?: any[] | null | undefined;
|
|
1183
1190
|
messages?: string[] | null | undefined;
|
|
1184
1191
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1185
1192
|
_id?: unknown;
|
|
1186
1193
|
triggers?: string[] | null | undefined;
|
|
1187
|
-
detectionMethods?:
|
|
1188
|
-
actions?:
|
|
1194
|
+
detectionMethods?: any[] | null | undefined;
|
|
1195
|
+
actions?: any[] | null | undefined;
|
|
1189
1196
|
messages?: string[] | null | undefined;
|
|
1190
1197
|
}> & {
|
|
1191
1198
|
_id?: unknown;
|
|
1192
1199
|
triggers?: string[] | null | undefined;
|
|
1193
|
-
detectionMethods?:
|
|
1194
|
-
actions?:
|
|
1200
|
+
detectionMethods?: any[] | null | undefined;
|
|
1201
|
+
actions?: any[] | null | undefined;
|
|
1195
1202
|
messages?: string[] | null | undefined;
|
|
1196
1203
|
}> | null | undefined;
|
|
1197
1204
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1198
1205
|
_id?: unknown;
|
|
1199
1206
|
triggers?: string[] | null | undefined;
|
|
1200
|
-
detectionMethods?:
|
|
1201
|
-
actions?:
|
|
1207
|
+
detectionMethods?: any[] | null | undefined;
|
|
1208
|
+
actions?: any[] | null | undefined;
|
|
1202
1209
|
messages?: string[] | null | undefined;
|
|
1203
1210
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1204
1211
|
_id?: unknown;
|
|
1205
1212
|
triggers?: string[] | null | undefined;
|
|
1206
|
-
detectionMethods?:
|
|
1207
|
-
actions?:
|
|
1213
|
+
detectionMethods?: any[] | null | undefined;
|
|
1214
|
+
actions?: any[] | null | undefined;
|
|
1208
1215
|
messages?: string[] | null | undefined;
|
|
1209
1216
|
}> & {
|
|
1210
1217
|
_id?: unknown;
|
|
1211
1218
|
triggers?: string[] | null | undefined;
|
|
1212
|
-
detectionMethods?:
|
|
1213
|
-
actions?:
|
|
1219
|
+
detectionMethods?: any[] | null | undefined;
|
|
1220
|
+
actions?: any[] | null | undefined;
|
|
1214
1221
|
messages?: string[] | null | undefined;
|
|
1215
1222
|
}> | null | undefined;
|
|
1216
1223
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1217
1224
|
_id?: unknown;
|
|
1218
1225
|
triggers?: string[] | null | undefined;
|
|
1219
|
-
detectionMethods?:
|
|
1220
|
-
actions?:
|
|
1226
|
+
detectionMethods?: any[] | null | undefined;
|
|
1227
|
+
actions?: any[] | null | undefined;
|
|
1221
1228
|
messages?: string[] | null | undefined;
|
|
1222
1229
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1223
1230
|
_id?: unknown;
|
|
1224
1231
|
triggers?: string[] | null | undefined;
|
|
1225
|
-
detectionMethods?:
|
|
1226
|
-
actions?:
|
|
1232
|
+
detectionMethods?: any[] | null | undefined;
|
|
1233
|
+
actions?: any[] | null | undefined;
|
|
1227
1234
|
messages?: string[] | null | undefined;
|
|
1228
1235
|
}> & {
|
|
1229
1236
|
_id?: unknown;
|
|
1230
1237
|
triggers?: string[] | null | undefined;
|
|
1231
|
-
detectionMethods?:
|
|
1232
|
-
actions?:
|
|
1238
|
+
detectionMethods?: any[] | null | undefined;
|
|
1239
|
+
actions?: any[] | null | undefined;
|
|
1233
1240
|
messages?: string[] | null | undefined;
|
|
1234
1241
|
}> | null | undefined;
|
|
1235
1242
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1236
1243
|
_id?: unknown;
|
|
1237
1244
|
triggers?: string[] | null | undefined;
|
|
1238
|
-
detectionMethods?:
|
|
1239
|
-
actions?:
|
|
1245
|
+
detectionMethods?: any[] | null | undefined;
|
|
1246
|
+
actions?: any[] | null | undefined;
|
|
1240
1247
|
messages?: string[] | null | undefined;
|
|
1241
1248
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1242
1249
|
_id?: unknown;
|
|
1243
1250
|
triggers?: string[] | null | undefined;
|
|
1244
|
-
detectionMethods?:
|
|
1245
|
-
actions?:
|
|
1251
|
+
detectionMethods?: any[] | null | undefined;
|
|
1252
|
+
actions?: any[] | null | undefined;
|
|
1246
1253
|
messages?: string[] | null | undefined;
|
|
1247
1254
|
}> & {
|
|
1248
1255
|
_id?: unknown;
|
|
1249
1256
|
triggers?: string[] | null | undefined;
|
|
1250
|
-
detectionMethods?:
|
|
1251
|
-
actions?:
|
|
1257
|
+
detectionMethods?: any[] | null | undefined;
|
|
1258
|
+
actions?: any[] | null | undefined;
|
|
1252
1259
|
messages?: string[] | null | undefined;
|
|
1253
1260
|
}> | null | undefined;
|
|
1254
1261
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -1504,11 +1511,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1504
1511
|
flags?: number | null | undefined;
|
|
1505
1512
|
managed?: boolean | null | undefined;
|
|
1506
1513
|
config?: {
|
|
1507
|
-
replyLangs?:
|
|
1508
|
-
searchLangs?:
|
|
1509
|
-
platform?:
|
|
1514
|
+
replyLangs?: Locales[] | null | undefined;
|
|
1515
|
+
searchLangs?: Locales[] | null | undefined;
|
|
1516
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
1510
1517
|
privacy?: any;
|
|
1511
1518
|
prefixes?: string[] | null | undefined;
|
|
1519
|
+
statusType?: any;
|
|
1512
1520
|
statusText?: string[] | null | undefined;
|
|
1513
1521
|
statusInterval?: number | null | undefined;
|
|
1514
1522
|
level?: number[] | null | undefined;
|
|
@@ -1609,118 +1617,119 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1609
1617
|
setCosmeticsWithoutCommands?: boolean | null | undefined;
|
|
1610
1618
|
setCosmeticsWithPrefix?: boolean | null | undefined;
|
|
1611
1619
|
acceptInvites?: boolean | null | undefined;
|
|
1620
|
+
startBannedBots?: boolean | null | undefined;
|
|
1612
1621
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1613
1622
|
_id?: unknown;
|
|
1614
1623
|
triggers?: string[] | null | undefined;
|
|
1615
|
-
detectionMethods?:
|
|
1616
|
-
actions?:
|
|
1624
|
+
detectionMethods?: any[] | null | undefined;
|
|
1625
|
+
actions?: any[] | null | undefined;
|
|
1617
1626
|
messages?: string[] | null | undefined;
|
|
1618
1627
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1619
1628
|
_id?: unknown;
|
|
1620
1629
|
triggers?: string[] | null | undefined;
|
|
1621
|
-
detectionMethods?:
|
|
1622
|
-
actions?:
|
|
1630
|
+
detectionMethods?: any[] | null | undefined;
|
|
1631
|
+
actions?: any[] | null | undefined;
|
|
1623
1632
|
messages?: string[] | null | undefined;
|
|
1624
1633
|
}> & {
|
|
1625
1634
|
_id?: unknown;
|
|
1626
1635
|
triggers?: string[] | null | undefined;
|
|
1627
|
-
detectionMethods?:
|
|
1628
|
-
actions?:
|
|
1636
|
+
detectionMethods?: any[] | null | undefined;
|
|
1637
|
+
actions?: any[] | null | undefined;
|
|
1629
1638
|
messages?: string[] | null | undefined;
|
|
1630
1639
|
}> | null | undefined;
|
|
1631
1640
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1632
1641
|
_id?: unknown;
|
|
1633
1642
|
triggers?: string[] | null | undefined;
|
|
1634
|
-
detectionMethods?:
|
|
1635
|
-
actions?:
|
|
1643
|
+
detectionMethods?: any[] | null | undefined;
|
|
1644
|
+
actions?: any[] | null | undefined;
|
|
1636
1645
|
messages?: string[] | null | undefined;
|
|
1637
1646
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1638
1647
|
_id?: unknown;
|
|
1639
1648
|
triggers?: string[] | null | undefined;
|
|
1640
|
-
detectionMethods?:
|
|
1641
|
-
actions?:
|
|
1649
|
+
detectionMethods?: any[] | null | undefined;
|
|
1650
|
+
actions?: any[] | null | undefined;
|
|
1642
1651
|
messages?: string[] | null | undefined;
|
|
1643
1652
|
}> & {
|
|
1644
1653
|
_id?: unknown;
|
|
1645
1654
|
triggers?: string[] | null | undefined;
|
|
1646
|
-
detectionMethods?:
|
|
1647
|
-
actions?:
|
|
1655
|
+
detectionMethods?: any[] | null | undefined;
|
|
1656
|
+
actions?: any[] | null | undefined;
|
|
1648
1657
|
messages?: string[] | null | undefined;
|
|
1649
1658
|
}> | null | undefined;
|
|
1650
1659
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1651
1660
|
_id?: unknown;
|
|
1652
1661
|
triggers?: string[] | null | undefined;
|
|
1653
|
-
detectionMethods?:
|
|
1654
|
-
actions?:
|
|
1662
|
+
detectionMethods?: any[] | null | undefined;
|
|
1663
|
+
actions?: any[] | null | undefined;
|
|
1655
1664
|
messages?: string[] | null | undefined;
|
|
1656
1665
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1657
1666
|
_id?: unknown;
|
|
1658
1667
|
triggers?: string[] | null | undefined;
|
|
1659
|
-
detectionMethods?:
|
|
1660
|
-
actions?:
|
|
1668
|
+
detectionMethods?: any[] | null | undefined;
|
|
1669
|
+
actions?: any[] | null | undefined;
|
|
1661
1670
|
messages?: string[] | null | undefined;
|
|
1662
1671
|
}> & {
|
|
1663
1672
|
_id?: unknown;
|
|
1664
1673
|
triggers?: string[] | null | undefined;
|
|
1665
|
-
detectionMethods?:
|
|
1666
|
-
actions?:
|
|
1674
|
+
detectionMethods?: any[] | null | undefined;
|
|
1675
|
+
actions?: any[] | null | undefined;
|
|
1667
1676
|
messages?: string[] | null | undefined;
|
|
1668
1677
|
}> | null | undefined;
|
|
1669
1678
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1670
1679
|
_id?: unknown;
|
|
1671
1680
|
triggers?: string[] | null | undefined;
|
|
1672
|
-
detectionMethods?:
|
|
1673
|
-
actions?:
|
|
1681
|
+
detectionMethods?: any[] | null | undefined;
|
|
1682
|
+
actions?: any[] | null | undefined;
|
|
1674
1683
|
messages?: string[] | null | undefined;
|
|
1675
1684
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1676
1685
|
_id?: unknown;
|
|
1677
1686
|
triggers?: string[] | null | undefined;
|
|
1678
|
-
detectionMethods?:
|
|
1679
|
-
actions?:
|
|
1687
|
+
detectionMethods?: any[] | null | undefined;
|
|
1688
|
+
actions?: any[] | null | undefined;
|
|
1680
1689
|
messages?: string[] | null | undefined;
|
|
1681
1690
|
}> & {
|
|
1682
1691
|
_id?: unknown;
|
|
1683
1692
|
triggers?: string[] | null | undefined;
|
|
1684
|
-
detectionMethods?:
|
|
1685
|
-
actions?:
|
|
1693
|
+
detectionMethods?: any[] | null | undefined;
|
|
1694
|
+
actions?: any[] | null | undefined;
|
|
1686
1695
|
messages?: string[] | null | undefined;
|
|
1687
1696
|
}> | null | undefined;
|
|
1688
1697
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1689
1698
|
_id?: unknown;
|
|
1690
1699
|
triggers?: string[] | null | undefined;
|
|
1691
|
-
detectionMethods?:
|
|
1692
|
-
actions?:
|
|
1700
|
+
detectionMethods?: any[] | null | undefined;
|
|
1701
|
+
actions?: any[] | null | undefined;
|
|
1693
1702
|
messages?: string[] | null | undefined;
|
|
1694
1703
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1695
1704
|
_id?: unknown;
|
|
1696
1705
|
triggers?: string[] | null | undefined;
|
|
1697
|
-
detectionMethods?:
|
|
1698
|
-
actions?:
|
|
1706
|
+
detectionMethods?: any[] | null | undefined;
|
|
1707
|
+
actions?: any[] | null | undefined;
|
|
1699
1708
|
messages?: string[] | null | undefined;
|
|
1700
1709
|
}> & {
|
|
1701
1710
|
_id?: unknown;
|
|
1702
1711
|
triggers?: string[] | null | undefined;
|
|
1703
|
-
detectionMethods?:
|
|
1704
|
-
actions?:
|
|
1712
|
+
detectionMethods?: any[] | null | undefined;
|
|
1713
|
+
actions?: any[] | null | undefined;
|
|
1705
1714
|
messages?: string[] | null | undefined;
|
|
1706
1715
|
}> | null | undefined;
|
|
1707
1716
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
1708
1717
|
_id?: unknown;
|
|
1709
1718
|
triggers?: string[] | null | undefined;
|
|
1710
|
-
detectionMethods?:
|
|
1711
|
-
actions?:
|
|
1719
|
+
detectionMethods?: any[] | null | undefined;
|
|
1720
|
+
actions?: any[] | null | undefined;
|
|
1712
1721
|
messages?: string[] | null | undefined;
|
|
1713
1722
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
1714
1723
|
_id?: unknown;
|
|
1715
1724
|
triggers?: string[] | null | undefined;
|
|
1716
|
-
detectionMethods?:
|
|
1717
|
-
actions?:
|
|
1725
|
+
detectionMethods?: any[] | null | undefined;
|
|
1726
|
+
actions?: any[] | null | undefined;
|
|
1718
1727
|
messages?: string[] | null | undefined;
|
|
1719
1728
|
}> & {
|
|
1720
1729
|
_id?: unknown;
|
|
1721
1730
|
triggers?: string[] | null | undefined;
|
|
1722
|
-
detectionMethods?:
|
|
1723
|
-
actions?:
|
|
1731
|
+
detectionMethods?: any[] | null | undefined;
|
|
1732
|
+
actions?: any[] | null | undefined;
|
|
1724
1733
|
messages?: string[] | null | undefined;
|
|
1725
1734
|
}> | null | undefined;
|
|
1726
1735
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -1972,11 +1981,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1972
1981
|
flags?: number | null | undefined;
|
|
1973
1982
|
managed?: boolean | null | undefined;
|
|
1974
1983
|
config?: {
|
|
1975
|
-
replyLangs?:
|
|
1976
|
-
searchLangs?:
|
|
1977
|
-
platform?:
|
|
1984
|
+
replyLangs?: Locales[] | null | undefined;
|
|
1985
|
+
searchLangs?: Locales[] | null | undefined;
|
|
1986
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
1978
1987
|
privacy?: any;
|
|
1979
1988
|
prefixes?: string[] | null | undefined;
|
|
1989
|
+
statusType?: any;
|
|
1980
1990
|
statusText?: string[] | null | undefined;
|
|
1981
1991
|
statusInterval?: number | null | undefined;
|
|
1982
1992
|
level?: number[] | null | undefined;
|
|
@@ -2077,118 +2087,119 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2077
2087
|
setCosmeticsWithoutCommands?: boolean | null | undefined;
|
|
2078
2088
|
setCosmeticsWithPrefix?: boolean | null | undefined;
|
|
2079
2089
|
acceptInvites?: boolean | null | undefined;
|
|
2090
|
+
startBannedBots?: boolean | null | undefined;
|
|
2080
2091
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2081
2092
|
_id?: unknown;
|
|
2082
2093
|
triggers?: string[] | null | undefined;
|
|
2083
|
-
detectionMethods?:
|
|
2084
|
-
actions?:
|
|
2094
|
+
detectionMethods?: any[] | null | undefined;
|
|
2095
|
+
actions?: any[] | null | undefined;
|
|
2085
2096
|
messages?: string[] | null | undefined;
|
|
2086
2097
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2087
2098
|
_id?: unknown;
|
|
2088
2099
|
triggers?: string[] | null | undefined;
|
|
2089
|
-
detectionMethods?:
|
|
2090
|
-
actions?:
|
|
2100
|
+
detectionMethods?: any[] | null | undefined;
|
|
2101
|
+
actions?: any[] | null | undefined;
|
|
2091
2102
|
messages?: string[] | null | undefined;
|
|
2092
2103
|
}> & {
|
|
2093
2104
|
_id?: unknown;
|
|
2094
2105
|
triggers?: string[] | null | undefined;
|
|
2095
|
-
detectionMethods?:
|
|
2096
|
-
actions?:
|
|
2106
|
+
detectionMethods?: any[] | null | undefined;
|
|
2107
|
+
actions?: any[] | null | undefined;
|
|
2097
2108
|
messages?: string[] | null | undefined;
|
|
2098
2109
|
}> | null | undefined;
|
|
2099
2110
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2100
2111
|
_id?: unknown;
|
|
2101
2112
|
triggers?: string[] | null | undefined;
|
|
2102
|
-
detectionMethods?:
|
|
2103
|
-
actions?:
|
|
2113
|
+
detectionMethods?: any[] | null | undefined;
|
|
2114
|
+
actions?: any[] | null | undefined;
|
|
2104
2115
|
messages?: string[] | null | undefined;
|
|
2105
2116
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2106
2117
|
_id?: unknown;
|
|
2107
2118
|
triggers?: string[] | null | undefined;
|
|
2108
|
-
detectionMethods?:
|
|
2109
|
-
actions?:
|
|
2119
|
+
detectionMethods?: any[] | null | undefined;
|
|
2120
|
+
actions?: any[] | null | undefined;
|
|
2110
2121
|
messages?: string[] | null | undefined;
|
|
2111
2122
|
}> & {
|
|
2112
2123
|
_id?: unknown;
|
|
2113
2124
|
triggers?: string[] | null | undefined;
|
|
2114
|
-
detectionMethods?:
|
|
2115
|
-
actions?:
|
|
2125
|
+
detectionMethods?: any[] | null | undefined;
|
|
2126
|
+
actions?: any[] | null | undefined;
|
|
2116
2127
|
messages?: string[] | null | undefined;
|
|
2117
2128
|
}> | null | undefined;
|
|
2118
2129
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2119
2130
|
_id?: unknown;
|
|
2120
2131
|
triggers?: string[] | null | undefined;
|
|
2121
|
-
detectionMethods?:
|
|
2122
|
-
actions?:
|
|
2132
|
+
detectionMethods?: any[] | null | undefined;
|
|
2133
|
+
actions?: any[] | null | undefined;
|
|
2123
2134
|
messages?: string[] | null | undefined;
|
|
2124
2135
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2125
2136
|
_id?: unknown;
|
|
2126
2137
|
triggers?: string[] | null | undefined;
|
|
2127
|
-
detectionMethods?:
|
|
2128
|
-
actions?:
|
|
2138
|
+
detectionMethods?: any[] | null | undefined;
|
|
2139
|
+
actions?: any[] | null | undefined;
|
|
2129
2140
|
messages?: string[] | null | undefined;
|
|
2130
2141
|
}> & {
|
|
2131
2142
|
_id?: unknown;
|
|
2132
2143
|
triggers?: string[] | null | undefined;
|
|
2133
|
-
detectionMethods?:
|
|
2134
|
-
actions?:
|
|
2144
|
+
detectionMethods?: any[] | null | undefined;
|
|
2145
|
+
actions?: any[] | null | undefined;
|
|
2135
2146
|
messages?: string[] | null | undefined;
|
|
2136
2147
|
}> | null | undefined;
|
|
2137
2148
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2138
2149
|
_id?: unknown;
|
|
2139
2150
|
triggers?: string[] | null | undefined;
|
|
2140
|
-
detectionMethods?:
|
|
2141
|
-
actions?:
|
|
2151
|
+
detectionMethods?: any[] | null | undefined;
|
|
2152
|
+
actions?: any[] | null | undefined;
|
|
2142
2153
|
messages?: string[] | null | undefined;
|
|
2143
2154
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2144
2155
|
_id?: unknown;
|
|
2145
2156
|
triggers?: string[] | null | undefined;
|
|
2146
|
-
detectionMethods?:
|
|
2147
|
-
actions?:
|
|
2157
|
+
detectionMethods?: any[] | null | undefined;
|
|
2158
|
+
actions?: any[] | null | undefined;
|
|
2148
2159
|
messages?: string[] | null | undefined;
|
|
2149
2160
|
}> & {
|
|
2150
2161
|
_id?: unknown;
|
|
2151
2162
|
triggers?: string[] | null | undefined;
|
|
2152
|
-
detectionMethods?:
|
|
2153
|
-
actions?:
|
|
2163
|
+
detectionMethods?: any[] | null | undefined;
|
|
2164
|
+
actions?: any[] | null | undefined;
|
|
2154
2165
|
messages?: string[] | null | undefined;
|
|
2155
2166
|
}> | null | undefined;
|
|
2156
2167
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2157
2168
|
_id?: unknown;
|
|
2158
2169
|
triggers?: string[] | null | undefined;
|
|
2159
|
-
detectionMethods?:
|
|
2160
|
-
actions?:
|
|
2170
|
+
detectionMethods?: any[] | null | undefined;
|
|
2171
|
+
actions?: any[] | null | undefined;
|
|
2161
2172
|
messages?: string[] | null | undefined;
|
|
2162
2173
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2163
2174
|
_id?: unknown;
|
|
2164
2175
|
triggers?: string[] | null | undefined;
|
|
2165
|
-
detectionMethods?:
|
|
2166
|
-
actions?:
|
|
2176
|
+
detectionMethods?: any[] | null | undefined;
|
|
2177
|
+
actions?: any[] | null | undefined;
|
|
2167
2178
|
messages?: string[] | null | undefined;
|
|
2168
2179
|
}> & {
|
|
2169
2180
|
_id?: unknown;
|
|
2170
2181
|
triggers?: string[] | null | undefined;
|
|
2171
|
-
detectionMethods?:
|
|
2172
|
-
actions?:
|
|
2182
|
+
detectionMethods?: any[] | null | undefined;
|
|
2183
|
+
actions?: any[] | null | undefined;
|
|
2173
2184
|
messages?: string[] | null | undefined;
|
|
2174
2185
|
}> | null | undefined;
|
|
2175
2186
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2176
2187
|
_id?: unknown;
|
|
2177
2188
|
triggers?: string[] | null | undefined;
|
|
2178
|
-
detectionMethods?:
|
|
2179
|
-
actions?:
|
|
2189
|
+
detectionMethods?: any[] | null | undefined;
|
|
2190
|
+
actions?: any[] | null | undefined;
|
|
2180
2191
|
messages?: string[] | null | undefined;
|
|
2181
2192
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2182
2193
|
_id?: unknown;
|
|
2183
2194
|
triggers?: string[] | null | undefined;
|
|
2184
|
-
detectionMethods?:
|
|
2185
|
-
actions?:
|
|
2195
|
+
detectionMethods?: any[] | null | undefined;
|
|
2196
|
+
actions?: any[] | null | undefined;
|
|
2186
2197
|
messages?: string[] | null | undefined;
|
|
2187
2198
|
}> & {
|
|
2188
2199
|
_id?: unknown;
|
|
2189
2200
|
triggers?: string[] | null | undefined;
|
|
2190
|
-
detectionMethods?:
|
|
2191
|
-
actions?:
|
|
2201
|
+
detectionMethods?: any[] | null | undefined;
|
|
2202
|
+
actions?: any[] | null | undefined;
|
|
2192
2203
|
messages?: string[] | null | undefined;
|
|
2193
2204
|
}> | null | undefined;
|
|
2194
2205
|
onlyOwnerCommands?: string[] | null | undefined;
|
|
@@ -2440,11 +2451,12 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2440
2451
|
flags?: number | null | undefined;
|
|
2441
2452
|
managed?: boolean | null | undefined;
|
|
2442
2453
|
config?: {
|
|
2443
|
-
replyLangs?:
|
|
2444
|
-
searchLangs?:
|
|
2445
|
-
platform?:
|
|
2454
|
+
replyLangs?: Locales[] | null | undefined;
|
|
2455
|
+
searchLangs?: Locales[] | null | undefined;
|
|
2456
|
+
platform?: CategoryConfigSupportedPlatforms[] | null | undefined;
|
|
2446
2457
|
privacy?: any;
|
|
2447
2458
|
prefixes?: string[] | null | undefined;
|
|
2459
|
+
statusType?: any;
|
|
2448
2460
|
statusText?: string[] | null | undefined;
|
|
2449
2461
|
statusInterval?: number | null | undefined;
|
|
2450
2462
|
level?: number[] | null | undefined;
|
|
@@ -2545,118 +2557,119 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2545
2557
|
setCosmeticsWithoutCommands?: boolean | null | undefined;
|
|
2546
2558
|
setCosmeticsWithPrefix?: boolean | null | undefined;
|
|
2547
2559
|
acceptInvites?: boolean | null | undefined;
|
|
2560
|
+
startBannedBots?: boolean | null | undefined;
|
|
2548
2561
|
usernameTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2549
2562
|
_id?: unknown;
|
|
2550
2563
|
triggers?: string[] | null | undefined;
|
|
2551
|
-
detectionMethods?:
|
|
2552
|
-
actions?:
|
|
2564
|
+
detectionMethods?: any[] | null | undefined;
|
|
2565
|
+
actions?: any[] | null | undefined;
|
|
2553
2566
|
messages?: string[] | null | undefined;
|
|
2554
2567
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2555
2568
|
_id?: unknown;
|
|
2556
2569
|
triggers?: string[] | null | undefined;
|
|
2557
|
-
detectionMethods?:
|
|
2558
|
-
actions?:
|
|
2570
|
+
detectionMethods?: any[] | null | undefined;
|
|
2571
|
+
actions?: any[] | null | undefined;
|
|
2559
2572
|
messages?: string[] | null | undefined;
|
|
2560
2573
|
}> & {
|
|
2561
2574
|
_id?: unknown;
|
|
2562
2575
|
triggers?: string[] | null | undefined;
|
|
2563
|
-
detectionMethods?:
|
|
2564
|
-
actions?:
|
|
2576
|
+
detectionMethods?: any[] | null | undefined;
|
|
2577
|
+
actions?: any[] | null | undefined;
|
|
2565
2578
|
messages?: string[] | null | undefined;
|
|
2566
2579
|
}> | null | undefined;
|
|
2567
2580
|
messageContentTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2568
2581
|
_id?: unknown;
|
|
2569
2582
|
triggers?: string[] | null | undefined;
|
|
2570
|
-
detectionMethods?:
|
|
2571
|
-
actions?:
|
|
2583
|
+
detectionMethods?: any[] | null | undefined;
|
|
2584
|
+
actions?: any[] | null | undefined;
|
|
2572
2585
|
messages?: string[] | null | undefined;
|
|
2573
2586
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2574
2587
|
_id?: unknown;
|
|
2575
2588
|
triggers?: string[] | null | undefined;
|
|
2576
|
-
detectionMethods?:
|
|
2577
|
-
actions?:
|
|
2589
|
+
detectionMethods?: any[] | null | undefined;
|
|
2590
|
+
actions?: any[] | null | undefined;
|
|
2578
2591
|
messages?: string[] | null | undefined;
|
|
2579
2592
|
}> & {
|
|
2580
2593
|
_id?: unknown;
|
|
2581
2594
|
triggers?: string[] | null | undefined;
|
|
2582
|
-
detectionMethods?:
|
|
2583
|
-
actions?:
|
|
2595
|
+
detectionMethods?: any[] | null | undefined;
|
|
2596
|
+
actions?: any[] | null | undefined;
|
|
2584
2597
|
messages?: string[] | null | undefined;
|
|
2585
2598
|
}> | null | undefined;
|
|
2586
2599
|
cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2587
2600
|
_id?: unknown;
|
|
2588
2601
|
triggers?: string[] | null | undefined;
|
|
2589
|
-
detectionMethods?:
|
|
2590
|
-
actions?:
|
|
2602
|
+
detectionMethods?: any[] | null | undefined;
|
|
2603
|
+
actions?: any[] | null | undefined;
|
|
2591
2604
|
messages?: string[] | null | undefined;
|
|
2592
2605
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2593
2606
|
_id?: unknown;
|
|
2594
2607
|
triggers?: string[] | null | undefined;
|
|
2595
|
-
detectionMethods?:
|
|
2596
|
-
actions?:
|
|
2608
|
+
detectionMethods?: any[] | null | undefined;
|
|
2609
|
+
actions?: any[] | null | undefined;
|
|
2597
2610
|
messages?: string[] | null | undefined;
|
|
2598
2611
|
}> & {
|
|
2599
2612
|
_id?: unknown;
|
|
2600
2613
|
triggers?: string[] | null | undefined;
|
|
2601
|
-
detectionMethods?:
|
|
2602
|
-
actions?:
|
|
2614
|
+
detectionMethods?: any[] | null | undefined;
|
|
2615
|
+
actions?: any[] | null | undefined;
|
|
2603
2616
|
messages?: string[] | null | undefined;
|
|
2604
2617
|
}> | null | undefined;
|
|
2605
2618
|
addFriendTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2606
2619
|
_id?: unknown;
|
|
2607
2620
|
triggers?: string[] | null | undefined;
|
|
2608
|
-
detectionMethods?:
|
|
2609
|
-
actions?:
|
|
2621
|
+
detectionMethods?: any[] | null | undefined;
|
|
2622
|
+
actions?: any[] | null | undefined;
|
|
2610
2623
|
messages?: string[] | null | undefined;
|
|
2611
2624
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2612
2625
|
_id?: unknown;
|
|
2613
2626
|
triggers?: string[] | null | undefined;
|
|
2614
|
-
detectionMethods?:
|
|
2615
|
-
actions?:
|
|
2627
|
+
detectionMethods?: any[] | null | undefined;
|
|
2628
|
+
actions?: any[] | null | undefined;
|
|
2616
2629
|
messages?: string[] | null | undefined;
|
|
2617
2630
|
}> & {
|
|
2618
2631
|
_id?: unknown;
|
|
2619
2632
|
triggers?: string[] | null | undefined;
|
|
2620
|
-
detectionMethods?:
|
|
2621
|
-
actions?:
|
|
2633
|
+
detectionMethods?: any[] | null | undefined;
|
|
2634
|
+
actions?: any[] | null | undefined;
|
|
2622
2635
|
messages?: string[] | null | undefined;
|
|
2623
2636
|
}> | null | undefined;
|
|
2624
2637
|
memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2625
2638
|
_id?: unknown;
|
|
2626
2639
|
triggers?: string[] | null | undefined;
|
|
2627
|
-
detectionMethods?:
|
|
2628
|
-
actions?:
|
|
2640
|
+
detectionMethods?: any[] | null | undefined;
|
|
2641
|
+
actions?: any[] | null | undefined;
|
|
2629
2642
|
messages?: string[] | null | undefined;
|
|
2630
2643
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2631
2644
|
_id?: unknown;
|
|
2632
2645
|
triggers?: string[] | null | undefined;
|
|
2633
|
-
detectionMethods?:
|
|
2634
|
-
actions?:
|
|
2646
|
+
detectionMethods?: any[] | null | undefined;
|
|
2647
|
+
actions?: any[] | null | undefined;
|
|
2635
2648
|
messages?: string[] | null | undefined;
|
|
2636
2649
|
}> & {
|
|
2637
2650
|
_id?: unknown;
|
|
2638
2651
|
triggers?: string[] | null | undefined;
|
|
2639
|
-
detectionMethods?:
|
|
2640
|
-
actions?:
|
|
2652
|
+
detectionMethods?: any[] | null | undefined;
|
|
2653
|
+
actions?: any[] | null | undefined;
|
|
2641
2654
|
messages?: string[] | null | undefined;
|
|
2642
2655
|
}> | null | undefined;
|
|
2643
2656
|
changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
|
|
2644
2657
|
_id?: unknown;
|
|
2645
2658
|
triggers?: string[] | null | undefined;
|
|
2646
|
-
detectionMethods?:
|
|
2647
|
-
actions?:
|
|
2659
|
+
detectionMethods?: any[] | null | undefined;
|
|
2660
|
+
actions?: any[] | null | undefined;
|
|
2648
2661
|
messages?: string[] | null | undefined;
|
|
2649
2662
|
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
2650
2663
|
_id?: unknown;
|
|
2651
2664
|
triggers?: string[] | null | undefined;
|
|
2652
|
-
detectionMethods?:
|
|
2653
|
-
actions?:
|
|
2665
|
+
detectionMethods?: any[] | null | undefined;
|
|
2666
|
+
actions?: any[] | null | undefined;
|
|
2654
2667
|
messages?: string[] | null | undefined;
|
|
2655
2668
|
}> & {
|
|
2656
2669
|
_id?: unknown;
|
|
2657
2670
|
triggers?: string[] | null | undefined;
|
|
2658
|
-
detectionMethods?:
|
|
2659
|
-
actions?:
|
|
2671
|
+
detectionMethods?: any[] | null | undefined;
|
|
2672
|
+
actions?: any[] | null | undefined;
|
|
2660
2673
|
messages?: string[] | null | undefined;
|
|
2661
2674
|
}> | null | undefined;
|
|
2662
2675
|
onlyOwnerCommands?: string[] | null | undefined;
|