Skip to content

A slash command and context menu commands handler for Discord.js bots

License

Notifications You must be signed in to change notification settings

jurgenjacobsen/dsc.cmds

Repository files navigation

dsc.cmds

A slash command and context menu commands handler for Discord.js bots

npm i dsc.cmds

DISCLAIMER This will only work with discord.js version 13.1 or later

Examples

Here's an example of how you can use the command handler.

Javascript

    const { Commands } = require("dsc.cmds");
    const { Client } = require("discord.js");

    const bot = new Client();
    const cmds = new Commands({
        bot: bot,
        dir: './commands',
    });

    bot.on("ready", () => console.log("Ready!"));

    bot.login("TOKEN");

About

A slash command and context menu commands handler for Discord.js bots

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project