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 5.0.27 to 5.0.28

0

build/Client.d.ts

@@ -0,0 +0,0 @@ import { ApplicationCommand, Client as ClientJS, CommandInteraction, Interaction, Message } from "discord.js";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Method } from "./Method";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ApplicationCommandOptionChoice } from "discord.js";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ApplicationCommandPermissionData } from "discord.js";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Decorator } from "./Decorator";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Decorator } from "./Decorator";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare class Decorator {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Decorator } from "./Decorator";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Decorator } from "./Decorator";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DiscordEvents } from "../..";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ApplicationCommandOptionData } from "discord.js";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Method } from "./Method";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ApplicationCommandData, ApplicationCommandPermissionData, CommandInteraction, CommandInteractionOption } from "discord.js";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DGuard, DDiscord } from "../..";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Decorator } from "./Decorator";

@@ -0,0 +0,0 @@ "use strict";

export declare function Bot(botID: string): any;
export declare function Bot(...botIDs: string[]): any;

@@ -0,0 +0,0 @@ "use strict";

export declare function Button(id: string): any;

@@ -0,0 +0,0 @@ "use strict";

export declare function Choice(name: string, value: number): any;
export declare function Choice(name: string, value: string): any;

@@ -0,0 +0,0 @@ "use strict";

import { ChoicesType } from "../..";
export declare function Choices(choices: ChoicesType): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { CommandParams } from "../params/CommandParams";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import "reflect-metadata";

@@ -0,0 +0,0 @@ "use strict";

export declare function DefaultPermission(): any;
export declare function DefaultPermission(permission: boolean): any;
export declare function Description(description: string): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SubCommand } from "../../types";

@@ -0,0 +0,0 @@ "use strict";

import { GuardFunction } from "../..";
export declare function Guard<Type = any, DatasType = any>(...fns: GuardFunction<Type, DatasType>[]): (target: Function | Object, key?: string | undefined, descriptor?: PropertyDescriptor | undefined) => void;

@@ -0,0 +0,0 @@ "use strict";

export declare function Guild(guildID: string): any;
export declare function Guild(...guildIDs: string[]): any;

@@ -0,0 +0,0 @@ "use strict";

export declare function Name(name: string): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DiscordEvents } from "../..";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DiscordEvents } from "../..";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import "reflect-metadata";

@@ -0,0 +0,0 @@ "use strict";

import { ApplicationCommandPermissionData } from "discord.js";
export declare function Permission(permission: ApplicationCommandPermissionData): any;
export declare function Permission(...permission: ApplicationCommandPermissionData[]): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare function SelectMenu(id: string, params?: {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SlashParams } from "../..";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from "./decorators/On";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface CommandParams {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CommandParams.js.map
export interface DiscordParams {
import?: (string | Function)[] | string | Function;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=DiscordParams.js.map
export interface EventParams {
botIds?: string[];
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=EventParams.js.map

@@ -0,0 +0,0 @@ import { OptionType } from "../..";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=OptionParams.js.map

@@ -0,0 +0,0 @@ export interface SlashParams {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SlashParams.js.map
export declare class GuildNotFoundError extends Error {
constructor(guildID: string);
}

@@ -0,0 +0,0 @@ "use strict";

export * from "./GuildNotFound";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from "./logic";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { InstanceOf } from "../..";

@@ -0,0 +0,0 @@ "use strict";

export * from "./metadatas/MetadataStorage";
export * from "./utils/DecoratorUtils";
export * from "./di/DIService";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DOn, DDiscord, DGuard, Client, ArgsOf, DiscordEvents, Modifier, DSlash, DOption } from "../..";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Decorator } from "../..";

@@ -0,0 +0,0 @@ "use strict";

export declare type ChoicesType = {
[key: string]: string | number;
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ChoicesType.js.map

@@ -0,0 +0,0 @@ import { ClientOptions as DiscordJSClientOptions, Message } from "discord.js";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ClientOptions.js.map
import { ClientEvents } from "discord.js";
export declare type DiscordEvents = keyof ClientEvents;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=DiscordEvents.js.map
export declare type InstanceOf<T> = T extends new (...args: any[]) => infer R ? R : any;
export declare type ToInterface<T> = new (...args: any[]) => T;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=InstanceOf.js.map
export declare type Next = (...paramsToNext: any[]) => Promise<any>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Next.js.map
export declare type TypeOrPromise<Type> = Type | Promise<Type>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=TypeOrPromise.js.map

@@ -0,0 +0,0 @@ export * from "./core/DiscordEvents";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ClientEvents } from "discord.js";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ArgsOf.js.map

@@ -0,0 +0,0 @@ import { Message } from "discord.js";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CommandMessage.js.map

@@ -0,0 +0,0 @@ import { Channel, ClientUser, Role, TextChannel, User, VoiceChannel } from "discord.js";

@@ -0,0 +0,0 @@ "use strict";

import { Client, Next } from "../..";
export declare type GuardFunction<Type = any, DatasType = any> = (params: Type, client: Client, next: Next, datas: DatasType) => any;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GuardFunction.js.map

@@ -0,0 +0,0 @@ # Next release

13

package.json
{
"name": "discordx",
"version": "5.0.27",
"version": "5.0.28",
"description": "Create your discord bot by using TypeScript and decorators!",

@@ -10,2 +10,3 @@ "main": "build/index.js",

"build": "tsc",
"type-check": "tsc --noemit",
"test": "jest --detectOpenHandles",

@@ -15,5 +16,2 @@ "publish:module": "sh ./publish.sh",

},
"files": [
"*"
],
"bugs": {

@@ -27,3 +25,3 @@ "url": "https://github.com/oceanroleplay/discord.ts/issue",

"type": "git",
"url": "https://github.com/oceanroleplay/discord.ts/tree/slashx"
"url": "https://github.com/oceanroleplay/discord.ts"
},

@@ -42,6 +40,4 @@ "keywords": [

"dependencies": {
"discord-api-types": "^0.18.1",
"discord.js": "github:discordjs/discord.js",
"glob": "^7.1.7",
"reflect-metadata": "^0.1.13"
"glob": "^7.1.7"
},

@@ -57,2 +53,3 @@ "devDependencies": {

"prettier": "2.3.0",
"reflect-metadata": "^0.1.13",
"ts-jest": "^26.5.6",

@@ -59,0 +56,0 @@ "ts-node": "^9.1.1",

@@ -0,0 +0,0 @@ # Why discordx?

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