mirror of
https://github.com/ION606/selmerBot.git
synced 2026-06-05 23:06:14 +00:00
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:
@@ -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}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user