@fnlb-project/database 1.0.53 → 1.0.54

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +378 -666
  2. package/dist/index.js +416 -416
  3. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -206,120 +206,72 @@ export declare const CategoryModel: import("mongoose").Model<{
206
206
  setCosmeticsWithoutCommands?: boolean | null | undefined;
207
207
  setCosmeticsWithPrefix?: boolean | null | undefined;
208
208
  acceptInvites?: boolean | null | undefined;
209
- startBannedBots?: boolean | null | undefined;
210
- usernameTriggers?: import("mongoose").Types.DocumentArray<{
209
+ triggers?: import("mongoose").Types.DocumentArray<{
210
+ type: any;
211
+ name: string;
212
+ actions: import("mongoose").Types.DocumentArray<{
213
+ type: any;
214
+ _id?: unknown;
215
+ command?: string | null | undefined;
216
+ args?: string[] | null | undefined;
217
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
218
+ type: any;
219
+ _id?: unknown;
220
+ command?: string | null | undefined;
221
+ args?: string[] | null | undefined;
222
+ }> & {
223
+ type: any;
224
+ _id?: unknown;
225
+ command?: string | null | undefined;
226
+ args?: string[] | null | undefined;
227
+ }>;
211
228
  _id?: unknown;
212
- triggers?: string[] | null | undefined;
213
- detectionMethods?: any[] | null | undefined;
214
- actions?: any[] | null | undefined;
215
- messages?: string[] | null | undefined;
216
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
217
- _id?: unknown;
218
- triggers?: string[] | null | undefined;
219
- detectionMethods?: any[] | null | undefined;
220
- actions?: any[] | null | undefined;
221
- messages?: string[] | null | undefined;
222
- }> & {
223
- _id?: unknown;
224
- triggers?: string[] | null | undefined;
225
- detectionMethods?: any[] | null | undefined;
226
- actions?: any[] | null | undefined;
227
- messages?: string[] | null | undefined;
228
- }> | null | undefined;
229
- messageContentTriggers?: import("mongoose").Types.DocumentArray<{
230
- _id?: unknown;
231
- triggers?: string[] | null | undefined;
232
- detectionMethods?: any[] | null | undefined;
233
- actions?: any[] | null | undefined;
234
- messages?: string[] | null | undefined;
235
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
236
- _id?: unknown;
237
- triggers?: string[] | null | undefined;
238
- detectionMethods?: any[] | null | undefined;
239
- actions?: any[] | null | undefined;
240
- messages?: string[] | null | undefined;
241
- }> & {
242
- _id?: unknown;
243
- triggers?: string[] | null | undefined;
244
- detectionMethods?: any[] | null | undefined;
245
- actions?: any[] | null | undefined;
246
- messages?: string[] | null | undefined;
247
- }> | null | undefined;
248
- cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
249
- _id?: unknown;
250
- triggers?: string[] | null | undefined;
251
- detectionMethods?: any[] | null | undefined;
252
- actions?: any[] | null | undefined;
253
- messages?: string[] | null | undefined;
254
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
255
- _id?: unknown;
256
- triggers?: string[] | null | undefined;
257
- detectionMethods?: any[] | null | undefined;
258
- actions?: any[] | null | undefined;
259
- messages?: string[] | null | undefined;
260
- }> & {
261
- _id?: unknown;
262
- triggers?: string[] | null | undefined;
263
- detectionMethods?: any[] | null | undefined;
264
- actions?: any[] | null | undefined;
265
- messages?: string[] | null | undefined;
266
- }> | null | undefined;
267
- addFriendTriggers?: import("mongoose").Types.DocumentArray<{
268
- _id?: unknown;
269
- triggers?: string[] | null | undefined;
270
- detectionMethods?: any[] | null | undefined;
271
- actions?: any[] | null | undefined;
272
- messages?: string[] | null | undefined;
273
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
274
- _id?: unknown;
275
- triggers?: string[] | null | undefined;
276
- detectionMethods?: any[] | null | undefined;
277
- actions?: any[] | null | undefined;
278
- messages?: string[] | null | undefined;
279
- }> & {
280
- _id?: unknown;
281
- triggers?: string[] | null | undefined;
282
- detectionMethods?: any[] | null | undefined;
283
- actions?: any[] | null | undefined;
284
- messages?: string[] | null | undefined;
285
- }> | null | undefined;
286
- memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
287
- _id?: unknown;
288
- triggers?: string[] | null | undefined;
289
- detectionMethods?: any[] | null | undefined;
290
- actions?: any[] | null | undefined;
291
- messages?: string[] | null | undefined;
292
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
293
- _id?: unknown;
294
- triggers?: string[] | null | undefined;
295
- detectionMethods?: any[] | null | undefined;
296
- actions?: any[] | null | undefined;
297
- messages?: string[] | null | undefined;
298
- }> & {
299
- _id?: unknown;
300
- triggers?: string[] | null | undefined;
301
- detectionMethods?: any[] | null | undefined;
302
- actions?: any[] | null | undefined;
303
- messages?: string[] | null | undefined;
304
- }> | null | undefined;
305
- changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
306
- _id?: unknown;
307
- triggers?: string[] | null | undefined;
308
- detectionMethods?: any[] | null | undefined;
309
- actions?: any[] | null | undefined;
310
- messages?: string[] | null | undefined;
311
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
229
+ flags?: number | null | undefined;
230
+ event?: any;
231
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
232
+ type: any;
233
+ name: string;
234
+ actions: import("mongoose").Types.DocumentArray<{
235
+ type: any;
236
+ _id?: unknown;
237
+ command?: string | null | undefined;
238
+ args?: string[] | null | undefined;
239
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
240
+ type: any;
241
+ _id?: unknown;
242
+ command?: string | null | undefined;
243
+ args?: string[] | null | undefined;
244
+ }> & {
245
+ type: any;
246
+ _id?: unknown;
247
+ command?: string | null | undefined;
248
+ args?: string[] | null | undefined;
249
+ }>;
312
250
  _id?: unknown;
313
- triggers?: string[] | null | undefined;
314
- detectionMethods?: any[] | null | undefined;
315
- actions?: any[] | null | undefined;
316
- messages?: string[] | null | undefined;
317
- }> & {
251
+ flags?: number | null | undefined;
252
+ event?: any;
253
+ }> & {
254
+ type: any;
255
+ name: string;
256
+ actions: import("mongoose").Types.DocumentArray<{
257
+ type: any;
258
+ _id?: unknown;
259
+ command?: string | null | undefined;
260
+ args?: string[] | null | undefined;
261
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
262
+ type: any;
263
+ _id?: unknown;
264
+ command?: string | null | undefined;
265
+ args?: string[] | null | undefined;
266
+ }> & {
267
+ type: any;
268
+ _id?: unknown;
269
+ command?: string | null | undefined;
270
+ args?: string[] | null | undefined;
271
+ }>;
318
272
  _id?: unknown;
319
- triggers?: string[] | null | undefined;
320
- detectionMethods?: any[] | null | undefined;
321
- actions?: any[] | null | undefined;
322
- messages?: string[] | null | undefined;
273
+ flags?: number | null | undefined;
274
+ event?: any;
323
275
  }> | null | undefined;
324
276
  onlyOwnerCommands?: string[] | null | undefined;
325
277
  onlyAdminCommands?: string[] | null | undefined;
@@ -676,120 +628,72 @@ export declare const CategoryModel: import("mongoose").Model<{
676
628
  setCosmeticsWithoutCommands?: boolean | null | undefined;
677
629
  setCosmeticsWithPrefix?: boolean | null | undefined;
678
630
  acceptInvites?: boolean | null | undefined;
679
- startBannedBots?: boolean | null | undefined;
680
- usernameTriggers?: import("mongoose").Types.DocumentArray<{
681
- _id?: unknown;
682
- triggers?: string[] | null | undefined;
683
- detectionMethods?: any[] | null | undefined;
684
- actions?: any[] | null | undefined;
685
- messages?: string[] | null | undefined;
686
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
687
- _id?: unknown;
688
- triggers?: string[] | null | undefined;
689
- detectionMethods?: any[] | null | undefined;
690
- actions?: any[] | null | undefined;
691
- messages?: string[] | null | undefined;
692
- }> & {
693
- _id?: unknown;
694
- triggers?: string[] | null | undefined;
695
- detectionMethods?: any[] | null | undefined;
696
- actions?: any[] | null | undefined;
697
- messages?: string[] | null | undefined;
698
- }> | null | undefined;
699
- messageContentTriggers?: import("mongoose").Types.DocumentArray<{
700
- _id?: unknown;
701
- triggers?: string[] | null | undefined;
702
- detectionMethods?: any[] | null | undefined;
703
- actions?: any[] | null | undefined;
704
- messages?: string[] | null | undefined;
705
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
706
- _id?: unknown;
707
- triggers?: string[] | null | undefined;
708
- detectionMethods?: any[] | null | undefined;
709
- actions?: any[] | null | undefined;
710
- messages?: string[] | null | undefined;
711
- }> & {
712
- _id?: unknown;
713
- triggers?: string[] | null | undefined;
714
- detectionMethods?: any[] | null | undefined;
715
- actions?: any[] | null | undefined;
716
- messages?: string[] | null | undefined;
717
- }> | null | undefined;
718
- cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
719
- _id?: unknown;
720
- triggers?: string[] | null | undefined;
721
- detectionMethods?: any[] | null | undefined;
722
- actions?: any[] | null | undefined;
723
- messages?: string[] | null | undefined;
724
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
725
- _id?: unknown;
726
- triggers?: string[] | null | undefined;
727
- detectionMethods?: any[] | null | undefined;
728
- actions?: any[] | null | undefined;
729
- messages?: string[] | null | undefined;
730
- }> & {
731
- _id?: unknown;
732
- triggers?: string[] | null | undefined;
733
- detectionMethods?: any[] | null | undefined;
734
- actions?: any[] | null | undefined;
735
- messages?: string[] | null | undefined;
736
- }> | null | undefined;
737
- addFriendTriggers?: import("mongoose").Types.DocumentArray<{
631
+ triggers?: import("mongoose").Types.DocumentArray<{
632
+ type: any;
633
+ name: string;
634
+ actions: import("mongoose").Types.DocumentArray<{
635
+ type: any;
636
+ _id?: unknown;
637
+ command?: string | null | undefined;
638
+ args?: string[] | null | undefined;
639
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
640
+ type: any;
641
+ _id?: unknown;
642
+ command?: string | null | undefined;
643
+ args?: string[] | null | undefined;
644
+ }> & {
645
+ type: any;
646
+ _id?: unknown;
647
+ command?: string | null | undefined;
648
+ args?: string[] | null | undefined;
649
+ }>;
738
650
  _id?: unknown;
739
- triggers?: string[] | null | undefined;
740
- detectionMethods?: any[] | null | undefined;
741
- actions?: any[] | null | undefined;
742
- messages?: string[] | null | undefined;
743
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
744
- _id?: unknown;
745
- triggers?: string[] | null | undefined;
746
- detectionMethods?: any[] | null | undefined;
747
- actions?: any[] | null | undefined;
748
- messages?: string[] | null | undefined;
749
- }> & {
750
- _id?: unknown;
751
- triggers?: string[] | null | undefined;
752
- detectionMethods?: any[] | null | undefined;
753
- actions?: any[] | null | undefined;
754
- messages?: string[] | null | undefined;
755
- }> | null | undefined;
756
- memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
757
- _id?: unknown;
758
- triggers?: string[] | null | undefined;
759
- detectionMethods?: any[] | null | undefined;
760
- actions?: any[] | null | undefined;
761
- messages?: string[] | null | undefined;
762
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
763
- _id?: unknown;
764
- triggers?: string[] | null | undefined;
765
- detectionMethods?: any[] | null | undefined;
766
- actions?: any[] | null | undefined;
767
- messages?: string[] | null | undefined;
768
- }> & {
769
- _id?: unknown;
770
- triggers?: string[] | null | undefined;
771
- detectionMethods?: any[] | null | undefined;
772
- actions?: any[] | null | undefined;
773
- messages?: string[] | null | undefined;
774
- }> | null | undefined;
775
- changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
776
- _id?: unknown;
777
- triggers?: string[] | null | undefined;
778
- detectionMethods?: any[] | null | undefined;
779
- actions?: any[] | null | undefined;
780
- messages?: string[] | null | undefined;
781
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
651
+ flags?: number | null | undefined;
652
+ event?: any;
653
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
654
+ type: any;
655
+ name: string;
656
+ actions: import("mongoose").Types.DocumentArray<{
657
+ type: any;
658
+ _id?: unknown;
659
+ command?: string | null | undefined;
660
+ args?: string[] | null | undefined;
661
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
662
+ type: any;
663
+ _id?: unknown;
664
+ command?: string | null | undefined;
665
+ args?: string[] | null | undefined;
666
+ }> & {
667
+ type: any;
668
+ _id?: unknown;
669
+ command?: string | null | undefined;
670
+ args?: string[] | null | undefined;
671
+ }>;
782
672
  _id?: unknown;
783
- triggers?: string[] | null | undefined;
784
- detectionMethods?: any[] | null | undefined;
785
- actions?: any[] | null | undefined;
786
- messages?: string[] | null | undefined;
787
- }> & {
673
+ flags?: number | null | undefined;
674
+ event?: any;
675
+ }> & {
676
+ type: any;
677
+ name: string;
678
+ actions: import("mongoose").Types.DocumentArray<{
679
+ type: any;
680
+ _id?: unknown;
681
+ command?: string | null | undefined;
682
+ args?: string[] | null | undefined;
683
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
684
+ type: any;
685
+ _id?: unknown;
686
+ command?: string | null | undefined;
687
+ args?: string[] | null | undefined;
688
+ }> & {
689
+ type: any;
690
+ _id?: unknown;
691
+ command?: string | null | undefined;
692
+ args?: string[] | null | undefined;
693
+ }>;
788
694
  _id?: unknown;
789
- triggers?: string[] | null | undefined;
790
- detectionMethods?: any[] | null | undefined;
791
- actions?: any[] | null | undefined;
792
- messages?: string[] | null | undefined;
695
+ flags?: number | null | undefined;
696
+ event?: any;
793
697
  }> | null | undefined;
794
698
  onlyOwnerCommands?: string[] | null | undefined;
795
699
  onlyAdminCommands?: string[] | null | undefined;
@@ -1146,120 +1050,72 @@ export declare const CategoryModel: import("mongoose").Model<{
1146
1050
  setCosmeticsWithoutCommands?: boolean | null | undefined;
1147
1051
  setCosmeticsWithPrefix?: boolean | null | undefined;
1148
1052
  acceptInvites?: boolean | null | undefined;
1149
- startBannedBots?: boolean | null | undefined;
1150
- usernameTriggers?: import("mongoose").Types.DocumentArray<{
1151
- _id?: unknown;
1152
- triggers?: string[] | null | undefined;
1153
- detectionMethods?: any[] | null | undefined;
1154
- actions?: any[] | null | undefined;
1155
- messages?: string[] | null | undefined;
1156
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1157
- _id?: unknown;
1158
- triggers?: string[] | null | undefined;
1159
- detectionMethods?: any[] | null | undefined;
1160
- actions?: any[] | null | undefined;
1161
- messages?: string[] | null | undefined;
1162
- }> & {
1163
- _id?: unknown;
1164
- triggers?: string[] | null | undefined;
1165
- detectionMethods?: any[] | null | undefined;
1166
- actions?: any[] | null | undefined;
1167
- messages?: string[] | null | undefined;
1168
- }> | null | undefined;
1169
- messageContentTriggers?: import("mongoose").Types.DocumentArray<{
1170
- _id?: unknown;
1171
- triggers?: string[] | null | undefined;
1172
- detectionMethods?: any[] | null | undefined;
1173
- actions?: any[] | null | undefined;
1174
- messages?: string[] | null | undefined;
1175
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1176
- _id?: unknown;
1177
- triggers?: string[] | null | undefined;
1178
- detectionMethods?: any[] | null | undefined;
1179
- actions?: any[] | null | undefined;
1180
- messages?: string[] | null | undefined;
1181
- }> & {
1182
- _id?: unknown;
1183
- triggers?: string[] | null | undefined;
1184
- detectionMethods?: any[] | null | undefined;
1185
- actions?: any[] | null | undefined;
1186
- messages?: string[] | null | undefined;
1187
- }> | null | undefined;
1188
- cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
1189
- _id?: unknown;
1190
- triggers?: string[] | null | undefined;
1191
- detectionMethods?: any[] | null | undefined;
1192
- actions?: any[] | null | undefined;
1193
- messages?: string[] | null | undefined;
1194
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1195
- _id?: unknown;
1196
- triggers?: string[] | null | undefined;
1197
- detectionMethods?: any[] | null | undefined;
1198
- actions?: any[] | null | undefined;
1199
- messages?: string[] | null | undefined;
1200
- }> & {
1201
- _id?: unknown;
1202
- triggers?: string[] | null | undefined;
1203
- detectionMethods?: any[] | null | undefined;
1204
- actions?: any[] | null | undefined;
1205
- messages?: string[] | null | undefined;
1206
- }> | null | undefined;
1207
- addFriendTriggers?: import("mongoose").Types.DocumentArray<{
1208
- _id?: unknown;
1209
- triggers?: string[] | null | undefined;
1210
- detectionMethods?: any[] | null | undefined;
1211
- actions?: any[] | null | undefined;
1212
- messages?: string[] | null | undefined;
1213
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1214
- _id?: unknown;
1215
- triggers?: string[] | null | undefined;
1216
- detectionMethods?: any[] | null | undefined;
1217
- actions?: any[] | null | undefined;
1218
- messages?: string[] | null | undefined;
1219
- }> & {
1053
+ triggers?: import("mongoose").Types.DocumentArray<{
1054
+ type: any;
1055
+ name: string;
1056
+ actions: import("mongoose").Types.DocumentArray<{
1057
+ type: any;
1058
+ _id?: unknown;
1059
+ command?: string | null | undefined;
1060
+ args?: string[] | null | undefined;
1061
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1062
+ type: any;
1063
+ _id?: unknown;
1064
+ command?: string | null | undefined;
1065
+ args?: string[] | null | undefined;
1066
+ }> & {
1067
+ type: any;
1068
+ _id?: unknown;
1069
+ command?: string | null | undefined;
1070
+ args?: string[] | null | undefined;
1071
+ }>;
1220
1072
  _id?: unknown;
1221
- triggers?: string[] | null | undefined;
1222
- detectionMethods?: any[] | null | undefined;
1223
- actions?: any[] | null | undefined;
1224
- messages?: string[] | null | undefined;
1225
- }> | null | undefined;
1226
- memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
1227
- _id?: unknown;
1228
- triggers?: string[] | null | undefined;
1229
- detectionMethods?: any[] | null | undefined;
1230
- actions?: any[] | null | undefined;
1231
- messages?: string[] | null | undefined;
1232
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1233
- _id?: unknown;
1234
- triggers?: string[] | null | undefined;
1235
- detectionMethods?: any[] | null | undefined;
1236
- actions?: any[] | null | undefined;
1237
- messages?: string[] | null | undefined;
1238
- }> & {
1239
- _id?: unknown;
1240
- triggers?: string[] | null | undefined;
1241
- detectionMethods?: any[] | null | undefined;
1242
- actions?: any[] | null | undefined;
1243
- messages?: string[] | null | undefined;
1244
- }> | null | undefined;
1245
- changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
1246
- _id?: unknown;
1247
- triggers?: string[] | null | undefined;
1248
- detectionMethods?: any[] | null | undefined;
1249
- actions?: any[] | null | undefined;
1250
- messages?: string[] | null | undefined;
1251
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1073
+ flags?: number | null | undefined;
1074
+ event?: any;
1075
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1076
+ type: any;
1077
+ name: string;
1078
+ actions: import("mongoose").Types.DocumentArray<{
1079
+ type: any;
1080
+ _id?: unknown;
1081
+ command?: string | null | undefined;
1082
+ args?: string[] | null | undefined;
1083
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1084
+ type: any;
1085
+ _id?: unknown;
1086
+ command?: string | null | undefined;
1087
+ args?: string[] | null | undefined;
1088
+ }> & {
1089
+ type: any;
1090
+ _id?: unknown;
1091
+ command?: string | null | undefined;
1092
+ args?: string[] | null | undefined;
1093
+ }>;
1252
1094
  _id?: unknown;
1253
- triggers?: string[] | null | undefined;
1254
- detectionMethods?: any[] | null | undefined;
1255
- actions?: any[] | null | undefined;
1256
- messages?: string[] | null | undefined;
1257
- }> & {
1095
+ flags?: number | null | undefined;
1096
+ event?: any;
1097
+ }> & {
1098
+ type: any;
1099
+ name: string;
1100
+ actions: import("mongoose").Types.DocumentArray<{
1101
+ type: any;
1102
+ _id?: unknown;
1103
+ command?: string | null | undefined;
1104
+ args?: string[] | null | undefined;
1105
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1106
+ type: any;
1107
+ _id?: unknown;
1108
+ command?: string | null | undefined;
1109
+ args?: string[] | null | undefined;
1110
+ }> & {
1111
+ type: any;
1112
+ _id?: unknown;
1113
+ command?: string | null | undefined;
1114
+ args?: string[] | null | undefined;
1115
+ }>;
1258
1116
  _id?: unknown;
1259
- triggers?: string[] | null | undefined;
1260
- detectionMethods?: any[] | null | undefined;
1261
- actions?: any[] | null | undefined;
1262
- messages?: string[] | null | undefined;
1117
+ flags?: number | null | undefined;
1118
+ event?: any;
1263
1119
  }> | null | undefined;
1264
1120
  onlyOwnerCommands?: string[] | null | undefined;
1265
1121
  onlyAdminCommands?: string[] | null | undefined;
@@ -1620,120 +1476,72 @@ export declare const CategoryModel: import("mongoose").Model<{
1620
1476
  setCosmeticsWithoutCommands?: boolean | null | undefined;
1621
1477
  setCosmeticsWithPrefix?: boolean | null | undefined;
1622
1478
  acceptInvites?: boolean | null | undefined;
1623
- startBannedBots?: boolean | null | undefined;
1624
- usernameTriggers?: import("mongoose").Types.DocumentArray<{
1479
+ triggers?: import("mongoose").Types.DocumentArray<{
1480
+ type: any;
1481
+ name: string;
1482
+ actions: import("mongoose").Types.DocumentArray<{
1483
+ type: any;
1484
+ _id?: unknown;
1485
+ command?: string | null | undefined;
1486
+ args?: string[] | null | undefined;
1487
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1488
+ type: any;
1489
+ _id?: unknown;
1490
+ command?: string | null | undefined;
1491
+ args?: string[] | null | undefined;
1492
+ }> & {
1493
+ type: any;
1494
+ _id?: unknown;
1495
+ command?: string | null | undefined;
1496
+ args?: string[] | null | undefined;
1497
+ }>;
1625
1498
  _id?: unknown;
1626
- triggers?: string[] | null | undefined;
1627
- detectionMethods?: any[] | null | undefined;
1628
- actions?: any[] | null | undefined;
1629
- messages?: string[] | null | undefined;
1630
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1631
- _id?: unknown;
1632
- triggers?: string[] | null | undefined;
1633
- detectionMethods?: any[] | null | undefined;
1634
- actions?: any[] | null | undefined;
1635
- messages?: string[] | null | undefined;
1636
- }> & {
1637
- _id?: unknown;
1638
- triggers?: string[] | null | undefined;
1639
- detectionMethods?: any[] | null | undefined;
1640
- actions?: any[] | null | undefined;
1641
- messages?: string[] | null | undefined;
1642
- }> | null | undefined;
1643
- messageContentTriggers?: import("mongoose").Types.DocumentArray<{
1644
- _id?: unknown;
1645
- triggers?: string[] | null | undefined;
1646
- detectionMethods?: any[] | null | undefined;
1647
- actions?: any[] | null | undefined;
1648
- messages?: string[] | null | undefined;
1649
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1650
- _id?: unknown;
1651
- triggers?: string[] | null | undefined;
1652
- detectionMethods?: any[] | null | undefined;
1653
- actions?: any[] | null | undefined;
1654
- messages?: string[] | null | undefined;
1655
- }> & {
1656
- _id?: unknown;
1657
- triggers?: string[] | null | undefined;
1658
- detectionMethods?: any[] | null | undefined;
1659
- actions?: any[] | null | undefined;
1660
- messages?: string[] | null | undefined;
1661
- }> | null | undefined;
1662
- cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
1663
- _id?: unknown;
1664
- triggers?: string[] | null | undefined;
1665
- detectionMethods?: any[] | null | undefined;
1666
- actions?: any[] | null | undefined;
1667
- messages?: string[] | null | undefined;
1668
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1669
- _id?: unknown;
1670
- triggers?: string[] | null | undefined;
1671
- detectionMethods?: any[] | null | undefined;
1672
- actions?: any[] | null | undefined;
1673
- messages?: string[] | null | undefined;
1674
- }> & {
1675
- _id?: unknown;
1676
- triggers?: string[] | null | undefined;
1677
- detectionMethods?: any[] | null | undefined;
1678
- actions?: any[] | null | undefined;
1679
- messages?: string[] | null | undefined;
1680
- }> | null | undefined;
1681
- addFriendTriggers?: import("mongoose").Types.DocumentArray<{
1682
- _id?: unknown;
1683
- triggers?: string[] | null | undefined;
1684
- detectionMethods?: any[] | null | undefined;
1685
- actions?: any[] | null | undefined;
1686
- messages?: string[] | null | undefined;
1687
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1688
- _id?: unknown;
1689
- triggers?: string[] | null | undefined;
1690
- detectionMethods?: any[] | null | undefined;
1691
- actions?: any[] | null | undefined;
1692
- messages?: string[] | null | undefined;
1693
- }> & {
1694
- _id?: unknown;
1695
- triggers?: string[] | null | undefined;
1696
- detectionMethods?: any[] | null | undefined;
1697
- actions?: any[] | null | undefined;
1698
- messages?: string[] | null | undefined;
1699
- }> | null | undefined;
1700
- memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
1701
- _id?: unknown;
1702
- triggers?: string[] | null | undefined;
1703
- detectionMethods?: any[] | null | undefined;
1704
- actions?: any[] | null | undefined;
1705
- messages?: string[] | null | undefined;
1706
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1707
- _id?: unknown;
1708
- triggers?: string[] | null | undefined;
1709
- detectionMethods?: any[] | null | undefined;
1710
- actions?: any[] | null | undefined;
1711
- messages?: string[] | null | undefined;
1712
- }> & {
1713
- _id?: unknown;
1714
- triggers?: string[] | null | undefined;
1715
- detectionMethods?: any[] | null | undefined;
1716
- actions?: any[] | null | undefined;
1717
- messages?: string[] | null | undefined;
1718
- }> | null | undefined;
1719
- changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
1720
- _id?: unknown;
1721
- triggers?: string[] | null | undefined;
1722
- detectionMethods?: any[] | null | undefined;
1723
- actions?: any[] | null | undefined;
1724
- messages?: string[] | null | undefined;
1725
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1499
+ flags?: number | null | undefined;
1500
+ event?: any;
1501
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1502
+ type: any;
1503
+ name: string;
1504
+ actions: import("mongoose").Types.DocumentArray<{
1505
+ type: any;
1506
+ _id?: unknown;
1507
+ command?: string | null | undefined;
1508
+ args?: string[] | null | undefined;
1509
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1510
+ type: any;
1511
+ _id?: unknown;
1512
+ command?: string | null | undefined;
1513
+ args?: string[] | null | undefined;
1514
+ }> & {
1515
+ type: any;
1516
+ _id?: unknown;
1517
+ command?: string | null | undefined;
1518
+ args?: string[] | null | undefined;
1519
+ }>;
1726
1520
  _id?: unknown;
1727
- triggers?: string[] | null | undefined;
1728
- detectionMethods?: any[] | null | undefined;
1729
- actions?: any[] | null | undefined;
1730
- messages?: string[] | null | undefined;
1731
- }> & {
1521
+ flags?: number | null | undefined;
1522
+ event?: any;
1523
+ }> & {
1524
+ type: any;
1525
+ name: string;
1526
+ actions: import("mongoose").Types.DocumentArray<{
1527
+ type: any;
1528
+ _id?: unknown;
1529
+ command?: string | null | undefined;
1530
+ args?: string[] | null | undefined;
1531
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1532
+ type: any;
1533
+ _id?: unknown;
1534
+ command?: string | null | undefined;
1535
+ args?: string[] | null | undefined;
1536
+ }> & {
1537
+ type: any;
1538
+ _id?: unknown;
1539
+ command?: string | null | undefined;
1540
+ args?: string[] | null | undefined;
1541
+ }>;
1732
1542
  _id?: unknown;
1733
- triggers?: string[] | null | undefined;
1734
- detectionMethods?: any[] | null | undefined;
1735
- actions?: any[] | null | undefined;
1736
- messages?: string[] | null | undefined;
1543
+ flags?: number | null | undefined;
1544
+ event?: any;
1737
1545
  }> | null | undefined;
1738
1546
  onlyOwnerCommands?: string[] | null | undefined;
1739
1547
  onlyAdminCommands?: string[] | null | undefined;
@@ -2090,120 +1898,72 @@ export declare const CategoryModel: import("mongoose").Model<{
2090
1898
  setCosmeticsWithoutCommands?: boolean | null | undefined;
2091
1899
  setCosmeticsWithPrefix?: boolean | null | undefined;
2092
1900
  acceptInvites?: boolean | null | undefined;
2093
- startBannedBots?: boolean | null | undefined;
2094
- usernameTriggers?: import("mongoose").Types.DocumentArray<{
2095
- _id?: unknown;
2096
- triggers?: string[] | null | undefined;
2097
- detectionMethods?: any[] | null | undefined;
2098
- actions?: any[] | null | undefined;
2099
- messages?: string[] | null | undefined;
2100
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2101
- _id?: unknown;
2102
- triggers?: string[] | null | undefined;
2103
- detectionMethods?: any[] | null | undefined;
2104
- actions?: any[] | null | undefined;
2105
- messages?: string[] | null | undefined;
2106
- }> & {
2107
- _id?: unknown;
2108
- triggers?: string[] | null | undefined;
2109
- detectionMethods?: any[] | null | undefined;
2110
- actions?: any[] | null | undefined;
2111
- messages?: string[] | null | undefined;
2112
- }> | null | undefined;
2113
- messageContentTriggers?: import("mongoose").Types.DocumentArray<{
2114
- _id?: unknown;
2115
- triggers?: string[] | null | undefined;
2116
- detectionMethods?: any[] | null | undefined;
2117
- actions?: any[] | null | undefined;
2118
- messages?: string[] | null | undefined;
2119
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2120
- _id?: unknown;
2121
- triggers?: string[] | null | undefined;
2122
- detectionMethods?: any[] | null | undefined;
2123
- actions?: any[] | null | undefined;
2124
- messages?: string[] | null | undefined;
2125
- }> & {
2126
- _id?: unknown;
2127
- triggers?: string[] | null | undefined;
2128
- detectionMethods?: any[] | null | undefined;
2129
- actions?: any[] | null | undefined;
2130
- messages?: string[] | null | undefined;
2131
- }> | null | undefined;
2132
- cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
2133
- _id?: unknown;
2134
- triggers?: string[] | null | undefined;
2135
- detectionMethods?: any[] | null | undefined;
2136
- actions?: any[] | null | undefined;
2137
- messages?: string[] | null | undefined;
2138
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2139
- _id?: unknown;
2140
- triggers?: string[] | null | undefined;
2141
- detectionMethods?: any[] | null | undefined;
2142
- actions?: any[] | null | undefined;
2143
- messages?: string[] | null | undefined;
2144
- }> & {
2145
- _id?: unknown;
2146
- triggers?: string[] | null | undefined;
2147
- detectionMethods?: any[] | null | undefined;
2148
- actions?: any[] | null | undefined;
2149
- messages?: string[] | null | undefined;
2150
- }> | null | undefined;
2151
- addFriendTriggers?: import("mongoose").Types.DocumentArray<{
1901
+ triggers?: import("mongoose").Types.DocumentArray<{
1902
+ type: any;
1903
+ name: string;
1904
+ actions: import("mongoose").Types.DocumentArray<{
1905
+ type: any;
1906
+ _id?: unknown;
1907
+ command?: string | null | undefined;
1908
+ args?: string[] | null | undefined;
1909
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1910
+ type: any;
1911
+ _id?: unknown;
1912
+ command?: string | null | undefined;
1913
+ args?: string[] | null | undefined;
1914
+ }> & {
1915
+ type: any;
1916
+ _id?: unknown;
1917
+ command?: string | null | undefined;
1918
+ args?: string[] | null | undefined;
1919
+ }>;
2152
1920
  _id?: unknown;
2153
- triggers?: string[] | null | undefined;
2154
- detectionMethods?: any[] | null | undefined;
2155
- actions?: any[] | null | undefined;
2156
- messages?: string[] | null | undefined;
2157
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2158
- _id?: unknown;
2159
- triggers?: string[] | null | undefined;
2160
- detectionMethods?: any[] | null | undefined;
2161
- actions?: any[] | null | undefined;
2162
- messages?: string[] | null | undefined;
2163
- }> & {
2164
- _id?: unknown;
2165
- triggers?: string[] | null | undefined;
2166
- detectionMethods?: any[] | null | undefined;
2167
- actions?: any[] | null | undefined;
2168
- messages?: string[] | null | undefined;
2169
- }> | null | undefined;
2170
- memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
2171
- _id?: unknown;
2172
- triggers?: string[] | null | undefined;
2173
- detectionMethods?: any[] | null | undefined;
2174
- actions?: any[] | null | undefined;
2175
- messages?: string[] | null | undefined;
2176
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2177
- _id?: unknown;
2178
- triggers?: string[] | null | undefined;
2179
- detectionMethods?: any[] | null | undefined;
2180
- actions?: any[] | null | undefined;
2181
- messages?: string[] | null | undefined;
2182
- }> & {
2183
- _id?: unknown;
2184
- triggers?: string[] | null | undefined;
2185
- detectionMethods?: any[] | null | undefined;
2186
- actions?: any[] | null | undefined;
2187
- messages?: string[] | null | undefined;
2188
- }> | null | undefined;
2189
- changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
2190
- _id?: unknown;
2191
- triggers?: string[] | null | undefined;
2192
- detectionMethods?: any[] | null | undefined;
2193
- actions?: any[] | null | undefined;
2194
- messages?: string[] | null | undefined;
2195
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1921
+ flags?: number | null | undefined;
1922
+ event?: any;
1923
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1924
+ type: any;
1925
+ name: string;
1926
+ actions: import("mongoose").Types.DocumentArray<{
1927
+ type: any;
1928
+ _id?: unknown;
1929
+ command?: string | null | undefined;
1930
+ args?: string[] | null | undefined;
1931
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1932
+ type: any;
1933
+ _id?: unknown;
1934
+ command?: string | null | undefined;
1935
+ args?: string[] | null | undefined;
1936
+ }> & {
1937
+ type: any;
1938
+ _id?: unknown;
1939
+ command?: string | null | undefined;
1940
+ args?: string[] | null | undefined;
1941
+ }>;
2196
1942
  _id?: unknown;
2197
- triggers?: string[] | null | undefined;
2198
- detectionMethods?: any[] | null | undefined;
2199
- actions?: any[] | null | undefined;
2200
- messages?: string[] | null | undefined;
2201
- }> & {
1943
+ flags?: number | null | undefined;
1944
+ event?: any;
1945
+ }> & {
1946
+ type: any;
1947
+ name: string;
1948
+ actions: import("mongoose").Types.DocumentArray<{
1949
+ type: any;
1950
+ _id?: unknown;
1951
+ command?: string | null | undefined;
1952
+ args?: string[] | null | undefined;
1953
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1954
+ type: any;
1955
+ _id?: unknown;
1956
+ command?: string | null | undefined;
1957
+ args?: string[] | null | undefined;
1958
+ }> & {
1959
+ type: any;
1960
+ _id?: unknown;
1961
+ command?: string | null | undefined;
1962
+ args?: string[] | null | undefined;
1963
+ }>;
2202
1964
  _id?: unknown;
2203
- triggers?: string[] | null | undefined;
2204
- detectionMethods?: any[] | null | undefined;
2205
- actions?: any[] | null | undefined;
2206
- messages?: string[] | null | undefined;
1965
+ flags?: number | null | undefined;
1966
+ event?: any;
2207
1967
  }> | null | undefined;
2208
1968
  onlyOwnerCommands?: string[] | null | undefined;
2209
1969
  onlyAdminCommands?: string[] | null | undefined;
@@ -2560,120 +2320,72 @@ export declare const CategoryModel: import("mongoose").Model<{
2560
2320
  setCosmeticsWithoutCommands?: boolean | null | undefined;
2561
2321
  setCosmeticsWithPrefix?: boolean | null | undefined;
2562
2322
  acceptInvites?: boolean | null | undefined;
2563
- startBannedBots?: boolean | null | undefined;
2564
- usernameTriggers?: import("mongoose").Types.DocumentArray<{
2565
- _id?: unknown;
2566
- triggers?: string[] | null | undefined;
2567
- detectionMethods?: any[] | null | undefined;
2568
- actions?: any[] | null | undefined;
2569
- messages?: string[] | null | undefined;
2570
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2571
- _id?: unknown;
2572
- triggers?: string[] | null | undefined;
2573
- detectionMethods?: any[] | null | undefined;
2574
- actions?: any[] | null | undefined;
2575
- messages?: string[] | null | undefined;
2576
- }> & {
2577
- _id?: unknown;
2578
- triggers?: string[] | null | undefined;
2579
- detectionMethods?: any[] | null | undefined;
2580
- actions?: any[] | null | undefined;
2581
- messages?: string[] | null | undefined;
2582
- }> | null | undefined;
2583
- messageContentTriggers?: import("mongoose").Types.DocumentArray<{
2584
- _id?: unknown;
2585
- triggers?: string[] | null | undefined;
2586
- detectionMethods?: any[] | null | undefined;
2587
- actions?: any[] | null | undefined;
2588
- messages?: string[] | null | undefined;
2589
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2590
- _id?: unknown;
2591
- triggers?: string[] | null | undefined;
2592
- detectionMethods?: any[] | null | undefined;
2593
- actions?: any[] | null | undefined;
2594
- messages?: string[] | null | undefined;
2595
- }> & {
2596
- _id?: unknown;
2597
- triggers?: string[] | null | undefined;
2598
- detectionMethods?: any[] | null | undefined;
2599
- actions?: any[] | null | undefined;
2600
- messages?: string[] | null | undefined;
2601
- }> | null | undefined;
2602
- cosmeticTriggers?: import("mongoose").Types.DocumentArray<{
2603
- _id?: unknown;
2604
- triggers?: string[] | null | undefined;
2605
- detectionMethods?: any[] | null | undefined;
2606
- actions?: any[] | null | undefined;
2607
- messages?: string[] | null | undefined;
2608
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2609
- _id?: unknown;
2610
- triggers?: string[] | null | undefined;
2611
- detectionMethods?: any[] | null | undefined;
2612
- actions?: any[] | null | undefined;
2613
- messages?: string[] | null | undefined;
2614
- }> & {
2615
- _id?: unknown;
2616
- triggers?: string[] | null | undefined;
2617
- detectionMethods?: any[] | null | undefined;
2618
- actions?: any[] | null | undefined;
2619
- messages?: string[] | null | undefined;
2620
- }> | null | undefined;
2621
- addFriendTriggers?: import("mongoose").Types.DocumentArray<{
2622
- _id?: unknown;
2623
- triggers?: string[] | null | undefined;
2624
- detectionMethods?: any[] | null | undefined;
2625
- actions?: any[] | null | undefined;
2626
- messages?: string[] | null | undefined;
2627
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2628
- _id?: unknown;
2629
- triggers?: string[] | null | undefined;
2630
- detectionMethods?: any[] | null | undefined;
2631
- actions?: any[] | null | undefined;
2632
- messages?: string[] | null | undefined;
2633
- }> & {
2323
+ triggers?: import("mongoose").Types.DocumentArray<{
2324
+ type: any;
2325
+ name: string;
2326
+ actions: import("mongoose").Types.DocumentArray<{
2327
+ type: any;
2328
+ _id?: unknown;
2329
+ command?: string | null | undefined;
2330
+ args?: string[] | null | undefined;
2331
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2332
+ type: any;
2333
+ _id?: unknown;
2334
+ command?: string | null | undefined;
2335
+ args?: string[] | null | undefined;
2336
+ }> & {
2337
+ type: any;
2338
+ _id?: unknown;
2339
+ command?: string | null | undefined;
2340
+ args?: string[] | null | undefined;
2341
+ }>;
2634
2342
  _id?: unknown;
2635
- triggers?: string[] | null | undefined;
2636
- detectionMethods?: any[] | null | undefined;
2637
- actions?: any[] | null | undefined;
2638
- messages?: string[] | null | undefined;
2639
- }> | null | undefined;
2640
- memberJoinTriggers?: import("mongoose").Types.DocumentArray<{
2641
- _id?: unknown;
2642
- triggers?: string[] | null | undefined;
2643
- detectionMethods?: any[] | null | undefined;
2644
- actions?: any[] | null | undefined;
2645
- messages?: string[] | null | undefined;
2646
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2647
- _id?: unknown;
2648
- triggers?: string[] | null | undefined;
2649
- detectionMethods?: any[] | null | undefined;
2650
- actions?: any[] | null | undefined;
2651
- messages?: string[] | null | undefined;
2652
- }> & {
2653
- _id?: unknown;
2654
- triggers?: string[] | null | undefined;
2655
- detectionMethods?: any[] | null | undefined;
2656
- actions?: any[] | null | undefined;
2657
- messages?: string[] | null | undefined;
2658
- }> | null | undefined;
2659
- changeCosmeticTriggers?: import("mongoose").Types.DocumentArray<{
2660
- _id?: unknown;
2661
- triggers?: string[] | null | undefined;
2662
- detectionMethods?: any[] | null | undefined;
2663
- actions?: any[] | null | undefined;
2664
- messages?: string[] | null | undefined;
2665
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2343
+ flags?: number | null | undefined;
2344
+ event?: any;
2345
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2346
+ type: any;
2347
+ name: string;
2348
+ actions: import("mongoose").Types.DocumentArray<{
2349
+ type: any;
2350
+ _id?: unknown;
2351
+ command?: string | null | undefined;
2352
+ args?: string[] | null | undefined;
2353
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2354
+ type: any;
2355
+ _id?: unknown;
2356
+ command?: string | null | undefined;
2357
+ args?: string[] | null | undefined;
2358
+ }> & {
2359
+ type: any;
2360
+ _id?: unknown;
2361
+ command?: string | null | undefined;
2362
+ args?: string[] | null | undefined;
2363
+ }>;
2666
2364
  _id?: unknown;
2667
- triggers?: string[] | null | undefined;
2668
- detectionMethods?: any[] | null | undefined;
2669
- actions?: any[] | null | undefined;
2670
- messages?: string[] | null | undefined;
2671
- }> & {
2365
+ flags?: number | null | undefined;
2366
+ event?: any;
2367
+ }> & {
2368
+ type: any;
2369
+ name: string;
2370
+ actions: import("mongoose").Types.DocumentArray<{
2371
+ type: any;
2372
+ _id?: unknown;
2373
+ command?: string | null | undefined;
2374
+ args?: string[] | null | undefined;
2375
+ }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2376
+ type: any;
2377
+ _id?: unknown;
2378
+ command?: string | null | undefined;
2379
+ args?: string[] | null | undefined;
2380
+ }> & {
2381
+ type: any;
2382
+ _id?: unknown;
2383
+ command?: string | null | undefined;
2384
+ args?: string[] | null | undefined;
2385
+ }>;
2672
2386
  _id?: unknown;
2673
- triggers?: string[] | null | undefined;
2674
- detectionMethods?: any[] | null | undefined;
2675
- actions?: any[] | null | undefined;
2676
- messages?: string[] | null | undefined;
2387
+ flags?: number | null | undefined;
2388
+ event?: any;
2677
2389
  }> | null | undefined;
2678
2390
  onlyOwnerCommands?: string[] | null | undefined;
2679
2391
  onlyAdminCommands?: string[] | null | undefined;