@stelliajs/framework 1.3.0 → 1.4.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AutoCompleteManager, type ButtonManager, type CommandManager, type ContextMenuManager, type EventManager, type ModalManager, type SelectMenuManager } from "../managers/index.js";
|
|
2
|
-
import { type Snowflake } from "discord.js";
|
|
2
|
+
import { type Locale, type Snowflake } from "discord.js";
|
|
3
3
|
export type StructureCustomId = string | RegExp;
|
|
4
4
|
export type InteractionCustomId = string;
|
|
5
5
|
export declare enum InteractionType {
|
|
@@ -25,7 +25,7 @@ export interface ClientEnvironment {
|
|
|
25
25
|
areGuildsConfigurationEnabled: boolean;
|
|
26
26
|
}
|
|
27
27
|
export interface BaseGuildConfiguration {
|
|
28
|
-
locale:
|
|
28
|
+
locale: Locale;
|
|
29
29
|
[key: string]: unknown;
|
|
30
30
|
}
|
|
31
31
|
export interface BaseGeneralConfiguration {
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stelliajs/framework",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
"description": "A framework for simplify the creation of discord bots",
|
|
16
16
|
"keywords": ["discord", "bot", "discordjs", "typescript", "framework"],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"discord-api-types": "^0.38.
|
|
18
|
+
"discord-api-types": "^0.38.11",
|
|
19
19
|
"discord.js": "^14.19.3",
|
|
20
|
+
"i18next": "^25.2.1",
|
|
20
21
|
"log-symbols": "^7.0.1"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|