gubo-data-types 0.1.16 → 0.1.18

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.
@@ -17,6 +17,10 @@ export interface ModerationBanCommandConfig extends ModerationCommandConfigBase
17
17
  deleteMessageDays?: number;
18
18
  durationDays?: number;
19
19
  }
20
+ export interface ModerationTimeoutCommandConfig extends ModerationCommandConfigBase {
21
+ }
22
+ export interface ModerationWarnCommandConfig extends ModerationCommandConfigBase {
23
+ }
20
24
  export type ModerationSlashCommandConfig = {
21
25
  name: 'kick';
22
26
  enabled: boolean;
@@ -25,6 +29,14 @@ export type ModerationSlashCommandConfig = {
25
29
  name: 'ban';
26
30
  enabled: boolean;
27
31
  config: ModerationBanCommandConfig;
32
+ } | {
33
+ name: 'timeout';
34
+ enabled: boolean;
35
+ config: ModerationTimeoutCommandConfig;
36
+ } | {
37
+ name: 'warn';
38
+ enabled: boolean;
39
+ config: ModerationWarnCommandConfig;
28
40
  };
29
41
  export interface ModerationAutoModFilters {
30
42
  spam?: boolean;
@@ -14,8 +14,8 @@ exports.DEFAULT_MODERATION = {
14
14
  invites: false,
15
15
  badWordsEnabled: false,
16
16
  badWords: [
17
- 'puta', 'puto', 'mierda', 'cabron', 'pendejo', 'gilipollas', 'co�o', 'joder', 'maric�n', 'culero', 'zorra', 'imb�cil', 'idiota', 'est�pido', 'cabr�n', 'perra',
18
- 'malparido', 'gonorrea', 'baboso', 'tonto', 'tarado', 'chinga', 'mam�n', 'pelotudo', 'boludo', 'mierdoso', 'cagada', 'huev�n', 'bobo',
17
+ 'puta', 'puto', 'mierda', 'cabron', 'pendejo', 'gilipollas', 'coño', 'joder', 'maricón', 'culero', 'zorra', 'imbécil', 'idiota', 'estúpido', 'cabrón', 'perra',
18
+ 'malparido', 'gonorrea', 'baboso', 'tonto', 'tarado', 'chinga', 'mamón', 'pelotudo', 'boludo', 'mierdoso', 'cagada', 'huevón', 'bobo',
19
19
  'fuck', 'shit', 'bitch', 'asshole', 'bastard', 'damn', 'dick', 'cunt', 'motherfucker', 'fucker', 'prick', 'slut', 'whore', 'idiot', 'stupid', 'jerk', 'moron',
20
20
  'twat', 'wanker', 'douche', 'douchebag', 'crap', 'bollocks', 'jackass', 'retard', 'suck', 'loser', 'scumbag', 'nutjob', 'psycho', 'trash', 'pig', 'skank', 'hoe'
21
21
  ],
@@ -53,6 +53,26 @@ exports.DEFAULT_MODERATION = {
53
53
  deleteMessageDays: 0,
54
54
  durationDays: 0,
55
55
  }
56
+ },
57
+ {
58
+ name: 'timeout',
59
+ enabled: true,
60
+ config: {
61
+ cooldownSec: 60,
62
+ logChannelId: null,
63
+ notifyStaffRoleIds: [],
64
+ silent: true,
65
+ }
66
+ },
67
+ {
68
+ name: 'warn',
69
+ enabled: true,
70
+ config: {
71
+ cooldownSec: 60,
72
+ logChannelId: null,
73
+ notifyStaffRoleIds: [],
74
+ silent: true,
75
+ }
56
76
  }
57
77
  ]
58
78
  };
@@ -17,6 +17,7 @@ export interface TicketsPluginConfig {
17
17
  transcriptsEnabled?: boolean;
18
18
  autoAssignMode?: 'ping' | 'none';
19
19
  categories?: TicketCategoryOption[];
20
+ allowUserClose?: boolean;
20
21
  updatedAt?: any | null;
21
22
  updatedBy?: string | null;
22
23
  version?: number;
@@ -15,6 +15,7 @@ exports.DEFAULT_TICKETS = {
15
15
  transcriptsEnabled: false,
16
16
  autoAssignMode: 'none',
17
17
  categories: [],
18
+ allowUserClose: false,
18
19
  updatedAt: null,
19
20
  updatedBy: null,
20
21
  version: 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gubo-data-types",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Shared type definitions and defaults for GUBO Discord Bot (no firebase-admin dependency)",
5
5
  "license": "MIT",
6
6
  "private": false,