Transitioned all Misc, audio, Selmer Specific, admin, anime/manga, and inventory commands to Slash Command format. The RSS and reactionrole commands are still broken and all game commands are still in message format due to compications

This commit is contained in:
ION606
2022-09-27 16:45:50 -04:00
parent a190a250a6
commit e1002d748d
45 changed files with 1951 additions and 1058 deletions
+31
View File
@@ -0,0 +1,31 @@
const { Constants } = require('discord.js');
module.exports = {
//Add the items on boot-up
"buy": {
description: 'Buy an item from the shop',
options: [
{name: 'item', description: 'the item you want to buy', type: Constants.ApplicationCommandOptionTypes.STRING, required: true, choices: []},
{name: 'amount', description: 'item amount', type: Constants.ApplicationCommandOptionTypes.INTEGER, required: true, choices: []},
]},
'shop': {
description: 'Displays the shop',
options: [
{name: 'type', description: 'the type of item', type: Constants.ApplicationCommandOptionTypes.STRING, required: true, choices: [{name: 'Food', value: 'Food'}, {name: 'Weapons', value: 'Weapons'}, {name: 'HP', value: 'HP'}, {name: 'MP', value: 'MP'}]},
{name: 'page', description: 'the shop page you want to go to', type: Constants.ApplicationCommandOptionTypes.INTEGER, required: false},
]
}, 'work': {
description: 'Work and earn money and xp',
options: []
},
'rank': { description: 'See your current rank' },
'inventory': { description: 'Check what\'s in your inventory' },
'balance': { description: 'Check your current balance' },
'sell': {
description: 'Sell an item from your inventory',
options: [
{name: 'item', description: 'the item you want to buy', type: Constants.ApplicationCommandOptionTypes.STRING, required: true},
{name: 'amount', description: 'the item you want to buy', type: Constants.ApplicationCommandOptionTypes.INTEGER, required: true}
]
}
}