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: {
options: [
{
name: "list",
name: "view",
description: "View your inventory",
value: "list",
value: "view",
type: 1,
},
{
@@ -209,7 +209,7 @@ module.exports = {
});
} else inventory = inventory.inventory
if (args[0].name == 'list') {
if (args[0].name == 'view') {
// Display Inventory
let inventoryEmbed = new MessageEmbed()