necord 6.8.2 → 6.8.3-dev.1712710491.64d6852
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.
|
@@ -10,18 +10,18 @@ export declare const IntegerOption: (data: {
|
|
|
10
10
|
name_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
11
11
|
description_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
12
12
|
required?: boolean;
|
|
13
|
-
autocomplete: true;
|
|
14
|
-
choices?: [];
|
|
15
13
|
min_value?: number;
|
|
16
14
|
max_value?: number;
|
|
15
|
+
autocomplete: true;
|
|
16
|
+
choices?: [];
|
|
17
17
|
} | {
|
|
18
18
|
name: string;
|
|
19
19
|
description: string;
|
|
20
20
|
name_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
21
21
|
description_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
22
22
|
required?: boolean;
|
|
23
|
-
autocomplete?: false;
|
|
24
|
-
choices?: import("discord.js").APIApplicationCommandOptionChoice<number>[];
|
|
25
23
|
min_value?: number;
|
|
26
24
|
max_value?: number;
|
|
25
|
+
autocomplete?: false;
|
|
26
|
+
choices?: import("discord.js").APIApplicationCommandOptionChoice<number>[];
|
|
27
27
|
}) => PropertyDecorator;
|
|
@@ -10,18 +10,18 @@ export declare const NumberOption: (data: {
|
|
|
10
10
|
name_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
11
11
|
description_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
12
12
|
required?: boolean;
|
|
13
|
-
autocomplete: true;
|
|
14
|
-
choices?: [];
|
|
15
13
|
min_value?: number;
|
|
16
14
|
max_value?: number;
|
|
15
|
+
autocomplete: true;
|
|
16
|
+
choices?: [];
|
|
17
17
|
} | {
|
|
18
18
|
name: string;
|
|
19
19
|
description: string;
|
|
20
20
|
name_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
21
21
|
description_localizations?: Partial<Record<"id" | "en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", string>>;
|
|
22
22
|
required?: boolean;
|
|
23
|
-
autocomplete?: false;
|
|
24
|
-
choices?: import("discord.js").APIApplicationCommandOptionChoice<number>[];
|
|
25
23
|
min_value?: number;
|
|
26
24
|
max_value?: number;
|
|
25
|
+
autocomplete?: false;
|
|
26
|
+
choices?: import("discord.js").APIApplicationCommandOptionChoice<number>[];
|
|
27
27
|
}) => PropertyDecorator;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "necord",
|
|
3
3
|
"description": "A module for creating Discord bots using NestJS, based on Discord.js",
|
|
4
|
-
"version": "6.8.
|
|
4
|
+
"version": "6.8.3-dev.1712710491.64d6852",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist && tsc -p tsconfig.build.json",
|
|
7
7
|
"prepublish:npm": "npm run build",
|