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