change inventory list to inventory view

This commit is contained in:
SowinskiBraeden committed 2022-08-05 10:52:09 -07:00
1 parent 51480bc679
commit 5c2fafbd5e
1 file changed
+3 -3
+3 -3
View File
@@ -15,9 +15,9 @@ module.exports = {
SlashCommand: { SlashCommand: {
options: [ options: [
{ {
name: "list", name: "view",
description: "View your inventory", description: "View your inventory",
value: "list", value: "view",
type: 1, type: 1,
}, },
{ {
@@ -209,7 +209,7 @@ module.exports = {
}); });
} else inventory = inventory.inventory } else inventory = inventory.inventory
if (args[0].name == 'list') { if (args[0].name == 'view') {
// Display Inventory // Display Inventory
let inventoryEmbed = new MessageEmbed() let inventoryEmbed = new MessageEmbed()