debug/hide inventory list

This commit is contained in:
SowinskiBraeden committed 2022-08-04 13:49:45 -07:00
1 parent 4f44b77eb1
commit 51480bc679
2 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -213,8 +213,8 @@ module.exports = {
// Display Inventory // Display Inventory
let inventoryEmbed = new MessageEmbed() let inventoryEmbed = new MessageEmbed()
.setColor(client.config.EmbedColor) .setColor(client.config.EmbedColor)
.setTitle('Your Inventory') .setTitle('Your Inventory')
let description = `To see detials on an Item use \`/inventory item [item number]\`\n\n\`\`\`` let description = `To see detials on an Item use \`/inventory item [item number]\`\n\n\`\`\``
for (let i = 0; i < inventory.items.length; i++) { for (let i = 0; i < inventory.items.length; i++) {
@@ -225,7 +225,7 @@ module.exports = {
inventoryEmbed.setDescription(description); inventoryEmbed.setDescription(description);
return interaction.send({ embeds: [inventoryEmbed] }); return interaction.send({ embeds: [inventoryEmbed], ephemeral: true });
} else if (args[0].name == 'wallet') { } else if (args[0].name == 'wallet') {
// Display wallet // Display wallet
+6 -6
View File
@@ -47,7 +47,7 @@ module.exports = {
name: "action_channel", name: "action_channel",
description: "Set the channel to be used for /me commands", description: "Set the channel to be used for /me commands",
value: "action_channel", value: "action_channel",
type: 1, type: 2,
options: [ options: [
{ {
name: "set", name: "set",
@@ -79,7 +79,7 @@ module.exports = {
name: "tweet_channel", name: "tweet_channel",
description: "Set the channel to be used for /tweet commands", description: "Set the channel to be used for /tweet commands",
value: "tweet_channel", value: "tweet_channel",
type: 1, type: 2,
options: [ options: [
{ {
name: "set", name: "set",
@@ -111,7 +111,7 @@ module.exports = {
name: "adverts_channel", name: "adverts_channel",
description: "Set the channel for users to send commercial adverts", description: "Set the channel for users to send commercial adverts",
value: "adverts_channel", value: "adverts_channel",
type: 1, type: 2,
options: [ options: [
{ {
name: "set", name: "set",
@@ -156,7 +156,7 @@ module.exports = {
name: "income_role", name: "income_role",
description: "Add/update a role to earn income on /work command", description: "Add/update a role to earn income on /work command",
value: "set_income_role", value: "set_income_role",
type: 1, type: 2,
options: [ options: [
{ {
name: "set", name: "set",
@@ -199,7 +199,7 @@ module.exports = {
name: "commercial_role", name: "commercial_role",
description: "Set/remove commercial role", description: "Set/remove commercial role",
value: "commercial_role", value: "commercial_role",
type: 1, type: 2,
options: [ options: [
{ {
name: "set", name: "set",
@@ -233,7 +233,7 @@ module.exports = {
name: "officer_role", name: "officer_role",
description: "Set/remove officer role", description: "Set/remove officer role",
value: "officer_role", value: "officer_role",
type: 1, type: 2,
options: [ options: [
{ {
name: "set", name: "set",