Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord.js-prompts

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord.js-prompts - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

build/DiscordChannel.d.ts

@@ -18,4 +18,4 @@ import { ChannelInterface } from "prompt-anything";

sendMenuVisual(visual: MenuVisual): Promise<Message>;
sendMessageVisual(visual: MessageVisual): Promise<Message>;
send(visual: DiscordVisual): Promise<Message>;
sendMessageVisual(visual: MessageVisual): Promise<Message | Message[]>;
send(visual: DiscordVisual): Promise<Message | Message[]>;
}

@@ -57,3 +57,8 @@ "use strict";

const sent = yield this.sendMessageVisual(visual);
this.storeMessage(sent);
if (Array.isArray(sent)) {
sent.forEach(m => this.storeMessage(m));
}
else {
this.storeMessage(sent);
}
return sent;

@@ -60,0 +65,0 @@ }

{
"name": "discord.js-prompts",
"version": "2.0.1",
"version": "2.0.2",
"description": "Create prompts in Discord, just like you would in console!",

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

"discord.js": "^12.2.0",
"prompt-anything": "^2.0.1"
"prompt-anything": "^3.0.0"
},

@@ -29,0 +29,0 @@ "devDependencies": {

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