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.23 to 5.0.24

.github/workflows/publish.yml

0

.prettierrc.json
{
"semi": true
}

@@ -0,0 +0,0 @@ {

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

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ const { description } = require('../../package')

@@ -0,0 +0,0 @@ # @Bot

@@ -0,0 +0,0 @@ # @Button

@@ -0,0 +0,0 @@ # @Choice

@@ -0,0 +0,0 @@ # @Choices

@@ -0,0 +0,0 @@ # @DefaultPermission

@@ -0,0 +0,0 @@ # @Description

@@ -0,0 +0,0 @@ # @Discord

@@ -0,0 +0,0 @@ # @Group

@@ -0,0 +0,0 @@ # @Guard

@@ -0,0 +0,0 @@ # @Guild

@@ -0,0 +0,0 @@ # @On - Discord events

@@ -0,0 +0,0 @@ # @Once - Discord events

@@ -0,0 +0,0 @@ # Option

@@ -0,0 +0,0 @@ # @Permission

@@ -0,0 +0,0 @@ # @SelectMenu

@@ -0,0 +0,0 @@ # @Slash - Discord commands

@@ -0,0 +0,0 @@ # ArgsOf

@@ -0,0 +0,0 @@ # Client

@@ -0,0 +0,0 @@ # Use the VSCode debugger to debug your bot

@@ -0,0 +0,0 @@ # List of the discord.js events

@@ -0,0 +0,0 @@ # MetadataStorage

@@ -0,0 +0,0 @@ # Sharding

@@ -0,0 +0,0 @@ ---

@@ -0,0 +0,0 @@ <p align="center">

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

@@ -0,0 +0,0 @@ import { Discord, Command, CommandOption, CommandMessage } from "../../../src";

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

@@ -0,0 +0,0 @@ /* eslint-disable @typescript-eslint/no-unused-vars */

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

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

@@ -0,0 +0,0 @@ import { CommandInteraction, MessageReaction, VoiceState } from "discord.js";

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

@@ -0,0 +0,0 @@ import {

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

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ import { Discord, Slash } from "../../../src";

@@ -0,0 +0,0 @@ import { Discord, Slash } from "../../../src";

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

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

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

@@ -0,0 +0,0 @@ module.exports = {

2

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

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -9,12 +9,12 @@ # Why discordx?

# New features
* added multiple bot support
* added new interactions: ``@Button @SelectMenu``
* added ``@Command`` to support v4 commands
* added new decorator ``@DefaultPermission``
* add new init slash method
* Code improved with lint
* added more example for new decorators
- added multiple bot support
- added new interactions: `@Button @SelectMenu`
- added `@Command` to support v4 commands
- added new decorator `@DefaultPermission`
- add new init slash method
- Code improved with lint
- added more example for new decorators
# Package

@@ -28,3 +28,3 @@

following documentation are not yet updated on based on discordx package, once new documentation is ready, we will update this message. Thank you
following documentation are based on original package, if you wish to read documentation that is compitable with discordx then at [oceanroleplay.github.io/discord.ts](https://oceanroleplay.github.io/discord.ts)

@@ -31,0 +31,0 @@ ---

@@ -0,0 +0,0 @@ import {

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

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

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

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

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

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

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

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

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

@@ -0,0 +0,0 @@ import {

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

@@ -0,0 +0,0 @@ import {

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

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

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

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

@@ -0,0 +0,0 @@ import { MetadataStorage, DChoice, DOption, Modifier } from "../..";

@@ -0,0 +0,0 @@ import {

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

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

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

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

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

@@ -0,0 +0,0 @@ import { MetadataStorage, DSlash, Modifier } from "../..";

@@ -0,0 +0,0 @@ import {

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

@@ -0,0 +0,0 @@ import { MetadataStorage, DSlash, Modifier, DDiscord } from "../..";

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

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

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

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

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

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

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

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

export interface DiscordParams {
import?: (string | Function)[] | string | Function;
}
export interface EventParams {
botIds?: string[];
}

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

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

@@ -0,0 +0,0 @@ export class GuildNotFoundError extends Error {

export * from "./GuildNotFound";

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

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

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

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

export type ChoicesType = {
[key: string]: string | number;
}

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

import { ClientEvents } from "discord.js";
export type DiscordEvents = keyof ClientEvents
export type InstanceOf<T> = T extends new (...args: any[]) => infer R ? R : any;
export type ToInterface<T> = new (...args: any[]) => T;
export type Next = (...paramsToNext: any[]) => Promise<any>;
export type TypeOrPromise<Type> = Type | Promise<Type>;

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

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

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

@@ -0,0 +0,0 @@ import {

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

@@ -0,0 +0,0 @@ /* eslint-disable @typescript-eslint/no-unused-vars */

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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