update help settings
This commit is contained in:
5 files changed
+171
-78
No files matched your search
+3
-3
@@ -22,7 +22,7 @@ module.exports = {
|
||||
/**
|
||||
*
|
||||
* @param {require("../structures/QuarksBot")} client
|
||||
* @param {import("discord.js").MessageCreate} message
|
||||
* @param {import("discord.js").Message} message
|
||||
* @param {string[]} args
|
||||
* @param {*} param3
|
||||
*/
|
||||
@@ -55,7 +55,7 @@ module.exports = {
|
||||
|
||||
interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) });
|
||||
|
||||
client.once("interactionCreate", async (ButtonInteraction) => {
|
||||
client.on("interactionCreate", async (ButtonInteraction) => {
|
||||
if(!ButtonInteraction.isButton()) return;
|
||||
const queryString = ButtonInteraction.customId;
|
||||
if (!queryString.endsWith(ButtonInteraction.member.user.id)) {
|
||||
@@ -115,7 +115,7 @@ module.exports = {
|
||||
return ButtonInteraction.update({ embeds: [successEmbed], components: [] });
|
||||
}
|
||||
});
|
||||
return;
|
||||
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user