@novelbrasil/discord.js-embed-menu
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -182,4 +182,4 @@ "use strict"; | ||
: Object.prototype.hasOwnProperty.call(this.currentPage.buttons, component.id) ? component.id : null; | ||
console.log("collect"); | ||
if (key && this.menu && this.menu instanceof discord_js_1.InteractionResponse) { | ||
console.log(key); | ||
if (key && this.menu && this.menu instanceof discord_js_1.Message) { | ||
if (component.user.id !== this.user.id) | ||
@@ -186,0 +186,0 @@ return; |
{ | ||
"name": "@novelbrasil/discord.js-embed-menu", | ||
"description": "Easily create Discord.js embed menus with reactions and unlimited customisable pages.", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"author": "eilex", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -208,4 +208,4 @@ import { EventEmitter } from 'events'; | ||
: Object.prototype.hasOwnProperty.call(this.currentPage.buttons, component.id as string) ? component.id : null; | ||
console.log("collect") | ||
if (key && this.menu && this.menu instanceof InteractionResponse) { | ||
console.log(key) | ||
if (key && this.menu && this.menu instanceof Message) { | ||
if (component.user.id !== this.user.id) return | ||
@@ -212,0 +212,0 @@ if (!this.currentPage.buttons) return |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
475105