New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bluecord

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluecord

Manage your slash commands by simple way with blue cord.

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Blue Cord

• Manage your slash commands by simple way with blue cord.

About

Blue Cord is a very simple library that help you to manage your slash commands.

  • Easy to use
  • Compatible with every discord wrapper made with node.js

Installation

Node 14.x or higher is required.

npm install bluecord
yarn add bluecord

Example Usage

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

Keywords

discord

FAQs

Package last updated on 20 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts