oopscord.js 0.0.7 → 0.0.9
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.
- package/dist/structures/DiscordApp.d.ts +1 -0
- package/dist/structures/DiscordApp.d.ts.map +1 -1
- package/dist/structures/DiscordApp.js +6 -5
- package/dist/structures/Plugin.d.ts +2 -1
- package/dist/structures/Plugin.d.ts.map +1 -1
- package/dist/structures/Plugin.js +4 -0
- package/dist/structures/decorators/CommandDecorator.d.ts +2 -1
- package/dist/structures/decorators/CommandDecorator.d.ts.map +1 -1
- package/dist/structures/decorators/CommandDecorator.js +11 -10
- package/dist/structures/decorators/DiscordModuleDecorator.d.ts.map +1 -1
- package/dist/structures/decorators/MessageComponentDecorator.d.ts +2 -1
- package/dist/structures/decorators/MessageComponentDecorator.d.ts.map +1 -1
- package/dist/utils/InteractionUtil.d.ts +5 -0
- package/dist/utils/InteractionUtil.d.ts.map +1 -0
- package/dist/utils/InteractionUtil.js +10 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscordApp.d.ts","sourceRoot":"","sources":["../../src/structures/DiscordApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyD,MAAM,
|
|
1
|
+
{"version":3,"file":"DiscordApp.d.ts","sourceRoot":"","sources":["../../src/structures/DiscordApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyD,MAAM,EAAwD,MAAM,YAAY,CAAC;AAMjJ,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAE3B,MAAM,WAAW,MAAM;IACnB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAOD,qBAAa,iBAAiB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;gBAEH,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAK1C,aAAa;IACb,QAAQ;CAGX;AAID,qBAAa,UAAU;;;IAiBb,KAAK;IA+KX,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,iBAAiB,EAAE,OAAO,GAAE,iBAAsB;CAWzF"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DiscordApp = exports.BaseDiscordModule = void 0;
|
|
4
4
|
const discord_js_1 = require("discord.js");
|
|
5
|
+
const v10_1 = require("discord-api-types/v10");
|
|
5
6
|
const Constants_1 = require("./decorators/Constants");
|
|
6
7
|
const Constants_2 = require("./Constants");
|
|
7
8
|
const defaultDiscordAppOptions = {
|
|
@@ -69,13 +70,13 @@ class DiscordApp {
|
|
|
69
70
|
apiPrivateCommands[guildId].push(data.toJSON());
|
|
70
71
|
});
|
|
71
72
|
if (this.#moduleOptions.test.enable) {
|
|
72
|
-
await this.#rest.put(
|
|
73
|
+
await this.#rest.put(v10_1.Routes.applicationGuildCommands(this.#client.user.id, this.#moduleOptions.test.guild), { body: apiGlobalCommands });
|
|
73
74
|
}
|
|
74
75
|
else {
|
|
75
|
-
await this.#rest.put(
|
|
76
|
+
await this.#rest.put(v10_1.Routes.applicationCommands(this.#client.user.id), { body: apiGlobalCommands });
|
|
76
77
|
this.#appOptions.logger?.info(`Successfully registered global commands.`);
|
|
77
78
|
for (const guildId in apiPrivateCommands) {
|
|
78
|
-
await this.#rest.put(
|
|
79
|
+
await this.#rest.put(v10_1.Routes.applicationGuildCommands(this.#client.user.id, guildId), { body: apiPrivateCommands[guildId] });
|
|
79
80
|
this.#appOptions.logger?.info(`Successfully registered private commands in ${guildId}.`);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
@@ -91,7 +92,7 @@ class DiscordApp {
|
|
|
91
92
|
const command = commands.find(c => Reflect.getMetadata(Constants_1.COMMAND_NAME_KEY, c) == commandName);
|
|
92
93
|
if (!command)
|
|
93
94
|
return;
|
|
94
|
-
if (itr.options.getSubcommandGroup()) {
|
|
95
|
+
if (itr.options.getSubcommandGroup(false)) {
|
|
95
96
|
let handler = Reflect.getMetadata(Constants_1.COMMAND_SUBCOMMAND_GROUPS_KEY, command)[itr.options.getSubcommandGroup(true)]?.find(c => Reflect.getMetadata(Constants_1.COMMAND_NAME_KEY, c) == itr.options.getSubcommand(true));
|
|
96
97
|
if (!handler)
|
|
97
98
|
return;
|
|
@@ -107,7 +108,7 @@ class DiscordApp {
|
|
|
107
108
|
let cmd = new handler(...args);
|
|
108
109
|
cmd[runMethod]();
|
|
109
110
|
}
|
|
110
|
-
else if (itr.options.getSubcommand()) {
|
|
111
|
+
else if (itr.options.getSubcommand(false)) {
|
|
111
112
|
let handler = Reflect.getMetadata(Constants_1.COMMAND_SUBCOMMANDS_KEY, command).find(c => Reflect.getMetadata(Constants_1.COMMAND_NAME_KEY, c) == itr.options.getSubcommand(true));
|
|
112
113
|
if (!handler)
|
|
113
114
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/structures/Plugin.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/structures/Plugin.ts"],"names":[],"mappings":"AAAA,qBAAa,MAAM;CAElB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ApplicationCommandOptionAllowedChannelTypes, CommandInteractionOptionResolver } from "discord.js";
|
|
2
|
+
import { APIApplicationCommandOptionChoice } from "discord-api-types/v10";
|
|
2
3
|
export type CommandModuleOptions = {
|
|
3
4
|
commands: (new (...args: any[]) => any)[];
|
|
4
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandDecorator.d.ts","sourceRoot":"","sources":["../../../src/structures/decorators/CommandDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CommandDecorator.d.ts","sourceRoot":"","sources":["../../../src/structures/decorators/CommandDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2CAA2C,EAAE,gCAAgC,EAAuV,MAAM,YAAY,CAAC;AAChc,OAAO,EAAe,iCAAiC,EAAE,MAAM,uBAAuB,CAAC;AAIvF,MAAM,MAAM,oBAAoB,GAAG;IAAE,QAAQ,EAAE,CAAC,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,EAAE,CAAA;CAAE,CAAA;AAChF,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA;AAClE,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AACnF,MAAM,MAAM,iBAAiB,CAAC,SAAS,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,WAAW,GAAG;IAAE,OAAO,EAAE,iCAAiC,CAAC,SAAS,CAAC,EAAE,CAAA;CAAE,CAAA;AAC9I,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAC5G,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG;IAAE,QAAQ,CAAC,EAAE,MA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,kBAAkB,MAAM,UAQrG;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,YAC1B,MAAM,gBAAgB,MAAM,GAAG,MAAM,GAAG,SAAS,kBAAkB,MAAM,UAQrG;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,YACzB,MAAM,gBAAgB,MAAM,GAAG,MAAM,GAAG,SAAS,kBAAkB,MAAM,UAQrG"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AttachmentOptionInjection = exports.MentionableOptionInjection = exports.RoleOptionInjection = exports.ChannelOptionInjection = exports.UserOptionInjection = exports.BooleanOptionInjection = exports.NumberOptionInjection = exports.IntegerOptionInjection = exports.StringOptionInjection = exports.AttachmentOption = exports.MentionableOption = exports.RoleOption = exports.ChannelOption = exports.UserOption = exports.BooleanOption = exports.NumberOptionWithChoices = exports.NumberOption = exports.IntegerOptionWithChoices = exports.IntegerOption = exports.StringOptionWithChoices = exports.StringOption = exports.AddSubcommandGroup = exports.AddSubcommand = exports.Private = exports.Subcommand = exports.Command = exports.CommandModule = void 0;
|
|
4
4
|
const discord_js_1 = require("discord.js");
|
|
5
|
+
const v10_1 = require("discord-api-types/v10");
|
|
5
6
|
const Constants_1 = require("./Constants");
|
|
6
7
|
const Constants_2 = require("../Constants");
|
|
7
8
|
// CommandModule decorator
|
|
@@ -107,7 +108,7 @@ function StringOptionWithChoices(option) {
|
|
|
107
108
|
.setRequired(option.required ?? false)
|
|
108
109
|
.setChoices(...option.choices));
|
|
109
110
|
Reflect.defineMetadata(Constants_1.COMMAND_OPTIONS_KEY, options, constructor);
|
|
110
|
-
};
|
|
111
|
+
};
|
|
111
112
|
}
|
|
112
113
|
exports.StringOptionWithChoices = StringOptionWithChoices;
|
|
113
114
|
function IntegerOption(option) {
|
|
@@ -192,15 +193,15 @@ function ChannelOption(option) {
|
|
|
192
193
|
.setDescription(option.description)
|
|
193
194
|
.setRequired(option.required ?? false)
|
|
194
195
|
.addChannelTypes(...option.channelTypes ?? [
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
196
|
+
v10_1.ChannelType.GuildText,
|
|
197
|
+
v10_1.ChannelType.GuildVoice,
|
|
198
|
+
v10_1.ChannelType.GuildCategory,
|
|
199
|
+
v10_1.ChannelType.GuildAnnouncement,
|
|
200
|
+
v10_1.ChannelType.AnnouncementThread,
|
|
201
|
+
v10_1.ChannelType.PublicThread,
|
|
202
|
+
v10_1.ChannelType.PrivateThread,
|
|
203
|
+
v10_1.ChannelType.GuildStageVoice,
|
|
204
|
+
v10_1.ChannelType.GuildForum,
|
|
204
205
|
]));
|
|
205
206
|
Reflect.defineMetadata(Constants_1.COMMAND_OPTIONS_KEY, options, constructor);
|
|
206
207
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscordModuleDecorator.d.ts","sourceRoot":"","sources":["../../../src/structures/decorators/DiscordModuleDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGzD,MAAM,WAAW,aAAc,SAAQ,aAAa;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC;IACzC,IAAI,CAAC,EAAE;QACH,MAAM,EAAE,OAAO,CAAC;QAChB,KAAK,EAAE,IAAI,GAAG,MAAM,CAAA;KACvB,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,oBAAoB,EAAE,aASlC,CAAA;AAED,MAAM,WAAW,mBAAmB;IAChC,SAAS,EAAE,MAAM,YAAY,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;CACtB;AAQD,wBAAgB,aAAa,CAAC,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"DiscordModuleDecorator.d.ts","sourceRoot":"","sources":["../../../src/structures/decorators/DiscordModuleDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGzD,MAAM,WAAW,aAAc,SAAQ,aAAa;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC;IACzC,IAAI,CAAC,EAAE;QACH,MAAM,EAAE,OAAO,CAAC;QAChB,KAAK,EAAE,IAAI,GAAG,MAAM,CAAA;KACvB,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,oBAAoB,EAAE,aASlC,CAAA;AAED,MAAM,WAAW,mBAAmB;IAChC,SAAS,EAAE,MAAM,YAAY,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;CACtB;AAQD,wBAAgB,aAAa,CAAC,OAAO,EAAE,aAAa,6CACS,SAAS,UASrE;AAED,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,YAAY,GAAG,eAAe,CAQ3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageComponentDecorator.d.ts","sourceRoot":"","sources":["../../../src/structures/decorators/MessageComponentDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageComponentDecorator.d.ts","sourceRoot":"","sources":["../../../src/structures/decorators/MessageComponentDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAyB,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,MAAM,wBAAwB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,eAAe,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAAE,CAAA;AACnJ,MAAM,MAAM,iBAAiB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,eAAe,CAAC;IAAC,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAA;AAEjH,wBAAgB,MAAM,CAAC,OAAO,EAAE,wBAAwB,GAAG,iBAAiB,qCACvB,CAAC,UAGrD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InteractionButtonOptions, LinkButtonOptions } from "../structures/decorators/MessageComponentDecorator";
|
|
2
|
+
export declare class InteractionUtil {
|
|
3
|
+
static isInteractionButtonOptions(options: InteractionButtonOptions | LinkButtonOptions): options is InteractionButtonOptions;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=InteractionUtil.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionUtil.d.ts","sourceRoot":"","sources":["../../src/utils/InteractionUtil.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAEjH,qBAAa,eAAe;IACxB,MAAM,CAAC,0BAA0B,CAAC,OAAO,EAAE,wBAAwB,GAAG,iBAAiB,GAAG,OAAO,IAAI,wBAAwB;CAGhI"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InteractionUtil = void 0;
|
|
4
|
+
const v10_1 = require("discord-api-types/v10");
|
|
5
|
+
class InteractionUtil {
|
|
6
|
+
static isInteractionButtonOptions(options) {
|
|
7
|
+
return options.style != v10_1.ButtonStyle.Link;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.InteractionUtil = InteractionUtil;
|