32 lines
487 B
JavaScript
32 lines
487 B
JavaScript
// commands/applications/nutHub.js
|
|
|
|
const {
|
|
SlashCommandBuilder
|
|
} = require("discord.js");
|
|
|
|
const {
|
|
showNutHub
|
|
} = require(
|
|
"../../../utils/nutHub"
|
|
);
|
|
|
|
|
|
module.exports = {
|
|
data:
|
|
new SlashCommandBuilder()
|
|
.setName(
|
|
"nuthub"
|
|
)
|
|
.setDescription(
|
|
"open the Nut Hub"
|
|
),
|
|
|
|
|
|
async execute(
|
|
interaction
|
|
) {
|
|
return showNutHub(
|
|
interaction
|
|
);
|
|
}
|
|
}; |