xernerx 4.9.0 → 4.10.0
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.
|
@@ -13,7 +13,7 @@ export default class XernerxContextCommand {
|
|
|
13
13
|
readonly info: string | null | undefined;
|
|
14
14
|
readonly category: string | null | undefined;
|
|
15
15
|
readonly cooldown: number | null | undefined;
|
|
16
|
-
readonly channel: ("GuildText" | "DM" | "GuildVoice" | "GroupDM" | "GuildCategory" | "GuildAnnouncement" | "AnnouncementThread" | "PublicThread" | "PrivateThread" | "GuildStageVoice" | "GuildDirectory" | "GuildForum" | "GuildNews" | "GuildNewsThread" | "GuildPublicThread" | "GuildPrivateThread")[] | null;
|
|
16
|
+
readonly channel: ("GuildText" | "DM" | "GuildVoice" | "GroupDM" | "GuildCategory" | "GuildAnnouncement" | "AnnouncementThread" | "PublicThread" | "PrivateThread" | "GuildStageVoice" | "GuildDirectory" | "GuildForum" | "GuildMedia" | "GuildNews" | "GuildNewsThread" | "GuildPublicThread" | "GuildPrivateThread")[] | null;
|
|
17
17
|
readonly global: boolean | undefined;
|
|
18
18
|
readonly ignore: {
|
|
19
19
|
owner?: boolean | undefined;
|
|
@@ -16,7 +16,7 @@ export default class XernerxMessageCommand {
|
|
|
16
16
|
readonly flags: import("../main.js").MessageCommandFlagOptions[] | undefined;
|
|
17
17
|
readonly category: string | null | undefined;
|
|
18
18
|
readonly cooldown: number | null | undefined;
|
|
19
|
-
readonly channel: ("GuildText" | "DM" | "GuildVoice" | "GroupDM" | "GuildCategory" | "GuildAnnouncement" | "AnnouncementThread" | "PublicThread" | "PrivateThread" | "GuildStageVoice" | "GuildDirectory" | "GuildForum" | "GuildNews" | "GuildNewsThread" | "GuildPublicThread" | "GuildPrivateThread")[] | null;
|
|
19
|
+
readonly channel: ("GuildText" | "DM" | "GuildVoice" | "GroupDM" | "GuildCategory" | "GuildAnnouncement" | "AnnouncementThread" | "PublicThread" | "PrivateThread" | "GuildStageVoice" | "GuildDirectory" | "GuildForum" | "GuildMedia" | "GuildNews" | "GuildNewsThread" | "GuildPublicThread" | "GuildPrivateThread")[] | null;
|
|
20
20
|
readonly global: boolean | undefined;
|
|
21
21
|
readonly ignore: {
|
|
22
22
|
owner?: boolean | undefined;
|
|
@@ -13,7 +13,7 @@ export default class XernerxSlashCommand {
|
|
|
13
13
|
readonly info: string | null | undefined;
|
|
14
14
|
readonly category: string | null | undefined;
|
|
15
15
|
readonly cooldown: number | null | undefined;
|
|
16
|
-
readonly channel: ("GuildText" | "DM" | "GuildVoice" | "GroupDM" | "GuildCategory" | "GuildAnnouncement" | "AnnouncementThread" | "PublicThread" | "PrivateThread" | "GuildStageVoice" | "GuildDirectory" | "GuildForum" | "GuildNews" | "GuildNewsThread" | "GuildPublicThread" | "GuildPrivateThread")[] | null;
|
|
16
|
+
readonly channel: ("GuildText" | "DM" | "GuildVoice" | "GroupDM" | "GuildCategory" | "GuildAnnouncement" | "AnnouncementThread" | "PublicThread" | "PrivateThread" | "GuildStageVoice" | "GuildDirectory" | "GuildForum" | "GuildMedia" | "GuildNews" | "GuildNewsThread" | "GuildPublicThread" | "GuildPrivateThread")[] | null;
|
|
17
17
|
readonly global: boolean | undefined;
|
|
18
18
|
readonly ignore: {
|
|
19
19
|
owner?: boolean | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/** @format */
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
3
|
import { MessagePayload } from 'discord.js';
|
|
3
|
-
export default function sendWebhook(url: URL, body: MessagePayload): Promise<
|
|
4
|
+
export default function sendWebhook(url: URL, body: MessagePayload): Promise<unknown>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @format */
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
3
|
import { EmbedBuilder, MessageEditOptions, MessagePayload, MessageReplyOptions, User } from 'discord.js';
|
|
3
4
|
import XernerxClient from '../client/XernerxClient.js';
|
|
4
5
|
import { XernerxMessage } from '../types/extenders.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xernerx",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "A bot framework for discord.js.",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"dbl-sdk": "1.2.0",
|
|
44
|
-
"discord.js": "14.
|
|
44
|
+
"discord.js": "^14.14.1",
|
|
45
45
|
"dumfunctions": "2.1.2",
|
|
46
46
|
"xernerx-extension-builder": "0.0.16",
|
|
47
47
|
"zod": "3.22.2"
|