A library to make discord bots by simple way (in development)
APACHE-2.0 License
• Manage your slash commands by simple way with blue cord.
Blue Cord is a very simple library that help you to manage your slash commands.
Node 14.x or higher is required.
npm install bluecord
yarn add bluecord
Start the command manager.
import Bluecord from "bluecord";
const token = "your discord bot token";
const options = {
version: "9"
}
// Create a new instance of blue cord.
const commandHandler = new Bluecord.Manager(token, options)
// Listening for ready event.
commandHandler.on("ready", () => {
console.log("Command handler is ready!");
console.log(`Detected ${commandHandler.app.commands.length} commands.`);
});
Learn how to use blue cord here: Documentation