clean listeners

This commit is contained in:
SowinskiBraeden committed 2022-08-28 17:41:34 -07:00
1 parent c6bc65f233
commit eebda1c209
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ module.exports = {
interaction.send({ components: [SelectSettings], flags: (1 << 6) });
client.on("interactionCreate", async MenuInteraction => {
client.on("interactionCreate", MenuInteraction => {
if(!MenuInteraction.isSelectMenu()) return;
if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) {
return MenuInteraction.reply({
+2 -2
View File
@@ -235,7 +235,7 @@ module.exports = {
interaction.send({ components: [opt], flags: (1 << 6) })
client.on("interactionCreate", async MenuInteraction => {
client.on("interactionCreate", MenuInteraction => {
if(!MenuInteraction.isSelectMenu()) return;
if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) {
return MenuInteraction.reply({
@@ -447,7 +447,7 @@ module.exports = {
interaction.send({ components: [opt], flags: (1 << 6) })
client.on("interactionCreate", async MenuInteraction => {
client.on("interactionCreate", MenuInteraction => {
if(!MenuInteraction.isSelectMenu()) return;
if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) {
return MenuInteraction.reply({
+1 -1
View File
@@ -55,7 +55,7 @@ module.exports = {
interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) });
client.on("interactionCreate", async (ButtonInteraction) => {
client.on("interactionCreate", ButtonInteraction => {
if(!ButtonInteraction.isButton()) return;
const queryString = ButtonInteraction.customId;
if (!queryString.endsWith(ButtonInteraction.member.user.id)) {