@open-discord-bots/framework 0.2.1 → 0.2.3

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.
@@ -62,7 +62,7 @@ export declare class ODHelpMenuCommandComponent extends ODHelpMenuComponent {
62
62
  /**## ODHelpMenuCategoryIdConstraint `type`
63
63
  * The constraint/layout for id mappings/interfaces of the `ODHelpMenuCategory` class.
64
64
  */
65
- export type ODHelpMenuCategoryIdConstraint = Record<string, ODHelpMenuComponent>;
65
+ export type ODHelpMenuCategoryIdConstraint = Record<string, ODHelpMenuComponent | null>;
66
66
  /**## ODHelpMenuCategory `class`
67
67
  * This is an Open Discord help menu category.
68
68
  *
@@ -5,7 +5,7 @@ import * as discord from "discord.js";
5
5
  /**## ODPostManagerIdConstraint `type`
6
6
  * The constraint/layout for id mappings/interfaces of the `ODPostManager` class.
7
7
  */
8
- export type ODPostManagerIdConstraint = Record<string, ODPost<discord.GuildBasedChannel>>;
8
+ export type ODPostManagerIdConstraint = Record<string, ODPost<discord.GuildBasedChannel> | null>;
9
9
  /**## ODPostManager `class`
10
10
  * This is an Open Discord post manager.
11
11
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@open-discord-bots/framework",
3
3
  "author": "DJj123dj",
4
- "version": "0.2.1",
4
+ "version": "0.2.3",
5
5
  "description": "The core framework of the popular open-source discord bots: Open Ticket & Open Moderation.",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -11,10 +11,10 @@
11
11
  "keywords": [],
12
12
  "license": "GPL-3.0-only",
13
13
  "dependencies": {
14
- "@discordjs/rest": "^2.6.0",
14
+ "@discordjs/rest": "^2.6.1",
15
15
  "@types/terminal-kit": "^2.5.7",
16
16
  "ansis": "^4.2.0",
17
- "discord.js": "^14.25.1",
17
+ "discord.js": "^14.26.0",
18
18
  "formatted-json-stringify": "^1.2.1",
19
19
  "terminal-kit": "^3.1.2",
20
20
  "typescript": "^5.9.3"
@@ -95,7 +95,7 @@ export class ODHelpMenuCommandComponent extends ODHelpMenuComponent {
95
95
  /**## ODHelpMenuCategoryIdConstraint `type`
96
96
  * The constraint/layout for id mappings/interfaces of the `ODHelpMenuCategory` class.
97
97
  */
98
- export type ODHelpMenuCategoryIdConstraint = Record<string,ODHelpMenuComponent>
98
+ export type ODHelpMenuCategoryIdConstraint = Record<string,ODHelpMenuComponent|null>
99
99
 
100
100
  /**## ODHelpMenuCategory `class`
101
101
  * This is an Open Discord help menu category.
@@ -9,7 +9,7 @@ import * as discord from "discord.js"
9
9
  /**## ODPostManagerIdConstraint `type`
10
10
  * The constraint/layout for id mappings/interfaces of the `ODPostManager` class.
11
11
  */
12
- export type ODPostManagerIdConstraint = Record<string,ODPost<discord.GuildBasedChannel>>
12
+ export type ODPostManagerIdConstraint = Record<string,ODPost<discord.GuildBasedChannel>|null>
13
13
 
14
14
  /**## ODPostManager `class`
15
15
  * This is an Open Discord post manager.