update help settings

This commit is contained in:
SowinskiBraeden committed 2022-08-28 13:02:33 -07:00
1 parent ef8bd15f34
commit c6bc65f233
5 files changed
+171 -78

No files matched your search

+6 -6
View File
@@ -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;
}
},
},