clean listeners
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user