Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
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.6.0-dev.1629210360.72ebdd9 to 5.6.0-dev.1629219680.82b2b2e

1

build/classes/SimpleCommandMessage.d.ts

@@ -10,2 +10,3 @@ import { Message } from "discord.js";

constructor(prefix: string, name: string, argString: string, message: Message, info: DSimpleCommand);
getRelatedCommands(): DSimpleCommand[];
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SimpleCommandMessage = void 0;
const __1 = require("..");
class SimpleCommandMessage {

@@ -12,4 +13,8 @@ constructor(prefix, name, argString, message, info) {

}
getRelatedCommands() {
const commandName = this.info.name.split(" ")[0];
return __1.MetadataStorage.instance.simpleCommands.filter((cmd) => cmd.name.startsWith(commandName) && cmd.name !== this.info.name);
}
}
exports.SimpleCommandMessage = SimpleCommandMessage;
//# sourceMappingURL=SimpleCommandMessage.js.map

2

package.json
{
"name": "discordx",
"version": "5.6.0-dev.1629210360.72ebdd9",
"version": "5.6.0-dev.1629219680.82b2b2e",
"description": "Create your discord bot by using TypeScript and decorators!",

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

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