Socket
Socket
Sign inDemoInstall

discordx

Package Overview
Dependencies
Maintainers
1
Versions
617
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discordx - npm Package Compare versions

Comparing version 11.1.10 to 11.1.11

4

build/cjs/Client.d.ts

@@ -11,3 +11,3 @@ import type { AutocompleteInteraction, ButtonInteraction, CommandInteraction, ContextMenuCommandInteraction, Interaction, Message, MessageReaction, ModalSubmitInteraction, PartialMessageReaction, PartialUser, SelectMenuInteraction, Snowflake, User } from "discord.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -78,3 +78,3 @@ export declare class Client extends ClientJS {

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -81,0 +81,0 @@ constructor(options: ClientOptions);

@@ -15,3 +15,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -183,3 +183,3 @@ class Client extends discord_js_1.Client {

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -186,0 +186,0 @@ constructor(options) {

@@ -10,3 +10,3 @@ import type { ClassMethodDecorator } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/bot)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/bot)
*

@@ -23,3 +23,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/bot)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/bot)
*

@@ -26,0 +26,0 @@ * @category Decorator

@@ -13,3 +13,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/bot)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/bot)
*

@@ -16,0 +16,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -11,3 +11,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -22,3 +22,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -25,0 +25,0 @@ * @category Decorator

@@ -11,3 +11,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/context-menu)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/context-menu)
*

@@ -14,0 +14,0 @@ * @category Decorator

@@ -12,3 +12,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/context-menu)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/context-menu)
*

@@ -15,0 +15,0 @@ * @category Decorator

@@ -6,3 +6,3 @@ import type { ClassDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/discord)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/discord)
*

@@ -9,0 +9,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/discord)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/discord)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { ClassMethodDecorator } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guard)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guard)
*

@@ -10,0 +10,0 @@ * @category Decorator

@@ -10,3 +10,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guard)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guard)
*

@@ -13,0 +13,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { ClassMethodDecorator } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guild)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guild)
*

@@ -21,3 +21,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guild)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guild)
*

@@ -24,0 +24,0 @@ * @category Decorator

@@ -12,3 +12,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guild)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guild)
*

@@ -15,0 +15,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -11,3 +11,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)
*

@@ -14,0 +14,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -11,3 +11,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on)
*

@@ -35,3 +35,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on#rest)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on#rest)
*

@@ -38,0 +38,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -11,3 +11,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once)
*

@@ -35,3 +35,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once#rest)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once#rest)
*

@@ -38,0 +38,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/reaction)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/reaction)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -12,3 +12,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/reaction)
*

@@ -15,0 +15,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -11,3 +11,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)
*

@@ -14,0 +14,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command)
*

@@ -23,3 +23,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command)
*

@@ -26,0 +26,0 @@ * @category Decorator

@@ -13,3 +13,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command)
*

@@ -16,0 +16,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { ParameterDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command-option)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -12,3 +12,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command-option)
*

@@ -15,0 +15,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -12,3 +12,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash)
*

@@ -15,0 +15,0 @@ * @category Decorator

@@ -10,3 +10,3 @@ import type { ParameterDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -22,3 +22,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -34,3 +34,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -37,0 +37,0 @@ * @category Decorator

@@ -12,3 +12,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -15,0 +15,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { ClassDecoratorEx, ClassMethodDecorator } from "@discordx/internal";

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -23,3 +23,3 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -38,3 +38,3 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -41,0 +41,0 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

@@ -13,3 +13,3 @@ "use strict";

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -16,0 +16,0 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

@@ -9,3 +9,3 @@ import type { ParameterDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-option)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -13,3 +13,3 @@ "use strict";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-option)
*

@@ -16,0 +16,0 @@ * @category Decorator

@@ -207,3 +207,3 @@ "use strict";

throw Error(`Did you forget to use the @discord decorator on your class: ${member.from.name}\n` +
"read more at https://discordx.js.org/docs/packages/discordx/guides/decorators/general/discord\n\n");
"read more at https://discordx.js.org/docs/discordx/decorators/general/discord\n\n");
}

@@ -210,0 +210,0 @@ // You can get the @Discord that wrap a @SimpleCommand/@On by using

@@ -11,3 +11,3 @@ import type { AutocompleteInteraction, ButtonInteraction, CommandInteraction, ContextMenuCommandInteraction, Interaction, Message, MessageReaction, ModalSubmitInteraction, PartialMessageReaction, PartialUser, SelectMenuInteraction, Snowflake, User } from "discord.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -78,3 +78,3 @@ export declare class Client extends ClientJS {

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -81,0 +81,0 @@ constructor(options: ClientOptions);

@@ -11,3 +11,3 @@ import { DIService } from "@discordx/di";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -179,3 +179,3 @@ export class Client extends ClientJS {

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/basics/client)
* [View Documentation](https://discordx.js.org/docs/discordx/basics/client)
*/

@@ -182,0 +182,0 @@ constructor(options) {

@@ -10,3 +10,3 @@ import type { ClassMethodDecorator } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/bot)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/bot)
*

@@ -23,3 +23,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/bot)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/bot)
*

@@ -26,0 +26,0 @@ * @category Decorator

@@ -10,3 +10,3 @@ import { Modifier } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/bot)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/bot)
*

@@ -13,0 +13,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -8,3 +8,3 @@ import { ComponentType, DComponent, MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -11,3 +11,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/context-menu)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/context-menu)
*

@@ -14,0 +14,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import { ApplicationCommandType } from "discord.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/context-menu)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/context-menu)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -6,3 +6,3 @@ import type { ClassDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/discord)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/discord)
*

@@ -9,0 +9,0 @@ * @category Decorator

@@ -6,3 +6,3 @@ import { DDiscord, MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/discord)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/discord)
*

@@ -9,0 +9,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { ClassMethodDecorator } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guard)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guard)
*

@@ -10,0 +10,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import { Modifier } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guard)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guard)
*

@@ -10,0 +10,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { ClassMethodDecorator } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guild)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guild)
*

@@ -21,3 +21,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guild)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guild)
*

@@ -24,0 +24,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import { Modifier } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guild)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/guild)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -8,3 +8,3 @@ import { ComponentType, DComponent, MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)
*

@@ -11,0 +11,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -8,3 +8,3 @@ import { DOn, MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on)
*

@@ -31,3 +31,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on#rest)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/on#rest)
*

@@ -34,0 +34,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -8,3 +8,3 @@ import { DOn, MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once)
*

@@ -31,3 +31,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once#rest)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/once#rest)
*

@@ -34,0 +34,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/reaction)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/reaction)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import { MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/general/reaction)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -8,3 +8,3 @@ import { ComponentType, DComponent, MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)
*

@@ -11,0 +11,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command)
*

@@ -23,3 +23,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command)
*

@@ -26,0 +26,0 @@ * @category Decorator

@@ -10,3 +10,3 @@ import { DSimpleCommand, MetadataStorage } from "../../index.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command)
*

@@ -13,0 +13,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { ParameterDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command-option)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import { Modifier } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/simple-command-option)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -7,3 +7,3 @@ import type { MethodDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash)
*

@@ -19,3 +19,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash)
*

@@ -22,0 +22,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import { ApplicationCommandType } from "discord.js";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -10,3 +10,3 @@ import type { ParameterDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -22,3 +22,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -34,3 +34,3 @@ * @category Decorator

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -37,0 +37,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import { Modifier } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -9,3 +9,3 @@ import type { ClassDecoratorEx, ClassMethodDecorator } from "@discordx/internal";

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -23,3 +23,3 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -38,3 +38,3 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -41,0 +41,0 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

@@ -10,3 +10,3 @@ import { Modifier } from "@discordx/internal";

*
* [View discordx documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
* [View discordx documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
*

@@ -13,0 +13,0 @@ * [View discord documentation](https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups)

@@ -9,3 +9,3 @@ import type { ParameterDecoratorEx } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-option)
*

@@ -12,0 +12,0 @@ * @category Decorator

@@ -10,3 +10,3 @@ import { Modifier } from "@discordx/internal";

*
* [View Documentation](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-option)
* [View Documentation](https://discordx.js.org/docs/discordx/decorators/command/slash-option)
*

@@ -13,0 +13,0 @@ * @category Decorator

@@ -203,3 +203,3 @@ import { DIService } from "@discordx/di";

throw Error(`Did you forget to use the @discord decorator on your class: ${member.from.name}\n` +
"read more at https://discordx.js.org/docs/packages/discordx/guides/decorators/general/discord\n\n");
"read more at https://discordx.js.org/docs/discordx/decorators/general/discord\n\n");
}

@@ -206,0 +206,0 @@ // You can get the @Discord that wrap a @SimpleCommand/@On by using

{
"name": "discordx",
"version": "11.1.10",
"version": "11.1.11",
"private": false,

@@ -50,2 +50,3 @@ "description": "Create a discord bot with TypeScript and Decorators!",

"build:changelog": "npx @discordx/changelog --root=src",
"build:typedoc": "npx typedoc src/index.ts --out ../../docs/static/api/discordx",
"build:cjs": "tsc --module CommonJs --outDir build/cjs && npm run postbuild:cjs",

@@ -52,0 +53,0 @@ "postbuild:cjs": "node ../../scripts/postbuild.mjs --path=build",

@@ -7,3 +7,3 @@ <div>

</p>
<p align="center">
<div align="center" class="badge-container">
<a href="https://discordx.js.org/discord"

@@ -34,3 +34,3 @@ ><img

/></a>
</p>
</div>
<p align="center">

@@ -47,3 +47,3 @@ <b> Create a discord bot with TypeScript and Decorators! </b>

# 💻 [Installation](https://discordx.js.org/docs/installation)
# 💻 [Installation](https://discordx.js.org/docs/discordx/getting-started)

@@ -57,3 +57,3 @@ > Version 16.6.0 or newer of [Node.js](https://nodejs.org/) is required

> **[installation guide](https://discordx.js.org/docs/installation#installation)**
> **[installation guide](https://discordx.js.org/docs/discordx/getting-started#installation)**

@@ -84,3 +84,3 @@ > **[one-click installation](https://github.com/discordx-ts/discordx/tree/main/packages/create-discordx#-introduction)**

If you have any issues or feature requests, Please open an issue at [Github](https://github.com/discordx-ts/discordx/issues) or join [discord server](https://discordx.js.org/discord)
If you have any issues or feature requests, Please open an issue at [GitHub](https://github.com/discordx-ts/discordx/issues) or join [discord server](https://discordx.js.org/discord)

@@ -124,28 +124,28 @@ # 🆕 Features

- [`@Discord`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/discord)
- [`@Guard`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guard)
- [`@Guild`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guild)
- [`@Bot`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/bot)
- [`@On`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on)
- [`@Once`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
- [`@Once`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
- [`@Reaction`](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
- [`@Discord`](https://discordx.js.org/docs/discordx/decorators/general/discord)
- [`@Guard`](https://discordx.js.org/docs/discordx/decorators/general/guard)
- [`@Guild`](https://discordx.js.org/docs/discordx/decorators/general/guild)
- [`@Bot`](https://discordx.js.org/docs/discordx/decorators/general/bot)
- [`@On`](https://discordx.js.org/docs/discordx/decorators/general/on)
- [`@Once`](https://discordx.js.org/docs/discordx/decorators/general/once)
- [`@Once`](https://discordx.js.org/docs/discordx/decorators/general/once)
- [`@Reaction`](https://discordx.js.org/docs/discordx/decorators/general/reaction)
## Commands
- [`@Slash`](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
- [`@SlashChoice`](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-choice)
- [`@SlashGroup`](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-group)
- [`@SlashOption`](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash-option)
- [`@SimpleCommand`](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
- [`@SimpleCommandOption`](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command-option)
- [`@Slash`](https://discordx.js.org/docs/discordx/decorators/command/slash)
- [`@SlashChoice`](https://discordx.js.org/docs/discordx/decorators/command/slash-choice)
- [`@SlashGroup`](https://discordx.js.org/docs/discordx/decorators/command/slash-group)
- [`@SlashOption`](https://discordx.js.org/docs/discordx/decorators/command/slash-option)
- [`@SimpleCommand`](https://discordx.js.org/docs/discordx/decorators/command/simple-command)
- [`@SimpleCommandOption`](https://discordx.js.org/docs/discordx/decorators/command/simple-command-option)
## GUI Interactions
- [`@ButtonComponent`](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
- [`@ContextMenu`](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/context-menu)
- [`@ModalComponent`](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
- [`@SelectMenuComponent`](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
- [`@ButtonComponent`](https://discordx.js.org/docs/discordx/decorators/gui/button-component)
- [`@ContextMenu`](https://discordx.js.org/docs/discordx/decorators/gui/context-menu)
- [`@ModalComponent`](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)
- [`@SelectMenuComponent`](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)
# 📟 [@Slash](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/slash)
# 📟 [@Slash](https://discordx.js.org/docs/discordx/decorators/command/slash)

@@ -167,3 +167,3 @@ Discord has it's own command system now, you can simply declare commands and use Slash commands this way

# 📟 [@ButtonComponent](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/button-component)
# 📟 [@ButtonComponent](https://discordx.js.org/docs/discordx/decorators/gui/button-component)

@@ -204,3 +204,3 @@ Create discord button handler with ease!

# 📟 [@SelectMenuComponent](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/select-menu-component)
# 📟 [@SelectMenuComponent](https://discordx.js.org/docs/discordx/decorators/gui/select-menu-component)

@@ -263,3 +263,3 @@ Create discord select menu handler with ease!

# 📟 [@ContextMenu](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/context-menu)
# 📟 [@ContextMenu](https://discordx.js.org/docs/discordx/decorators/gui/context-menu)

@@ -291,3 +291,3 @@ Create discord context menu options with ease!

# 📟 [@ModalComponent](https://discordx.js.org/docs/packages/discordx/guides/decorators/gui/modal-component)
# 📟 [@ModalComponent](https://discordx.js.org/docs/discordx/decorators/gui/modal-component)

@@ -349,3 +349,3 @@ Create discord modal with ease!

# 📟 [@SimpleCommand](https://discordx.js.org/docs/packages/discordx/guides/decorators/command/simple-command)
# 📟 [@SimpleCommand](https://discordx.js.org/docs/discordx/decorators/command/simple-command)

@@ -364,3 +364,3 @@ Create a simple command handler for messages using `@SimpleCommand`. Example `!hello world`

# 💡[@On](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/on) / [@Once](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/once)
# 💡[@On](https://discordx.js.org/docs/discordx/decorators/general/on) / [@Once](https://discordx.js.org/docs/discordx/decorators/general/once)

@@ -388,3 +388,3 @@ We can declare methods that will be executed whenever a Discord event is triggered.

# 💡[@Reaction](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/reaction)
# 💡[@Reaction](https://discordx.js.org/docs/discordx/decorators/general/reaction)

@@ -408,3 +408,3 @@ Create a reaction handler for messages using `@Reaction`.

# ⚔️ [Guards](https://discordx.js.org/docs/packages/discordx/guides/decorators/general/guard)
# ⚔️ [Guards](https://discordx.js.org/docs/discordx/decorators/general/guard)

@@ -411,0 +411,0 @@ We implemented a guard system that functions like the [Koa](https://koajs.com/) middleware system

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc