v3.0.1 (2022/6/6) | (updated)
Hi (ᴗ ω ᴗ)
This is just an experiment for "slash commands" ( "@discordjs/rest" + "@discordjs/builders" ) in a simple way :3
❒ | if you need something » Unknown_#7004
Cmd examples?
Test:
const { SlashCommandBuilder } = require("@discordjs/builders");
const data = new SlashCommandBuilder()
.setName(" ") // [1] command Name
.setDescription(" "); // [2] command description
module.exports = {
global: false, // [3] Command (Guild/Global) (true = Global, flase = Guild)
data: data, // cmd data*
async execute(client, interaction) {
await interaction.reply({ content: " ", ephemeral: true }); // [5] Command replay
}
};
Install bot
npm install request
npm install discord.js
npm install fs
npm install os
npm install ascii-table
npm install express
npm install @discordjs/rest
bye :3?