New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@novelbrasil/discord.js-embed-menu

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@novelbrasil/discord.js-embed-menu - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

dist/discord_embed_menu.js

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

}
yield this.menu.edit({ content, embeds: [this.currentPage.content], components });
this.menu = yield this.menu.edit({ content, embeds: [this.currentPage.content], components });
if (this.currentPage.buttons) {

@@ -170,4 +170,4 @@ yield this.awaitButtons();

var _a;
console.log(this.menu);
if (this.menu && this.menu instanceof discord_js_1.Message) {
console.log(this.menu);
const filter = (_interaction) => {

@@ -174,0 +174,0 @@ var _a, _b;

{
"name": "@novelbrasil/discord.js-embed-menu",
"description": "Easily create Discord.js embed menus with reactions and unlimited customisable pages.",
"version": "1.2.0",
"version": "1.2.1",
"author": "eilex",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -165,3 +165,3 @@ import { EventEmitter } from 'events';

await this.menu.edit({content, embeds: [this.currentPage.content], components });
this.menu = await this.menu.edit({content, embeds: [this.currentPage.content], components });

@@ -196,4 +196,4 @@ if (this.currentPage.buttons) {

private async awaitButtons() {
console.log(this.menu)
if (this.menu && this.menu instanceof Message) {
console.log(this.menu)
const filter = (_interaction: any): boolean => {

@@ -200,0 +200,0 @@ return _interaction.user.id === this.menu?.client.user?.id

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