update help settings
This commit is contained in:
5 files changed
+171
-78
No files matched your search
@@ -235,7 +235,7 @@ module.exports = {
|
||||
|
||||
interaction.send({ components: [opt], flags: (1 << 6) })
|
||||
|
||||
client.once("interactionCreate", async MenuInteraction => {
|
||||
client.on("interactionCreate", async MenuInteraction => {
|
||||
if(!MenuInteraction.isSelectMenu()) return;
|
||||
if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) {
|
||||
return MenuInteraction.reply({
|
||||
@@ -294,7 +294,7 @@ module.exports = {
|
||||
|
||||
}
|
||||
});
|
||||
return;
|
||||
|
||||
|
||||
} else if (args[0].name == 'wallet') {
|
||||
// Display wallet
|
||||
@@ -447,7 +447,7 @@ module.exports = {
|
||||
|
||||
interaction.send({ components: [opt], flags: (1 << 6) })
|
||||
|
||||
client.once("interactionCreate", async MenuInteraction => {
|
||||
client.on("interactionCreate", async MenuInteraction => {
|
||||
if(!MenuInteraction.isSelectMenu()) return;
|
||||
if (!MenuInteraction.customId.endsWith(MenuInteraction.member.user.id)) {
|
||||
return MenuInteraction.reply({
|
||||
@@ -518,7 +518,7 @@ module.exports = {
|
||||
|
||||
return MenuInteraction.update({ embeds: [successEmbed], components: [] });
|
||||
});
|
||||
return;
|
||||
|
||||
|
||||
} else if (args[0].name == 'clear') {
|
||||
const prompt = new EmbedBuilder()
|
||||
@@ -540,7 +540,7 @@ module.exports = {
|
||||
|
||||
interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) });
|
||||
|
||||
client.once("interactionCreate", ButtonInteraction => {
|
||||
client.on("interactionCreate", ButtonInteraction => {
|
||||
if(!ButtonInteraction.isButton()) return;
|
||||
const queryString = ButtonInteraction.customId;
|
||||
if (!queryString.endsWith(ButtonInteraction.member.user.id)) {
|
||||
@@ -571,7 +571,7 @@ module.exports = {
|
||||
|
||||
return ButtonInteraction.update({ embeds: [successEmbed], components: [] });
|
||||
});
|
||||
return;
|
||||
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user