Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

waifuslash

j_ddev16MIT1.0.3TypeScript support: included

Waifu slash is a discord slash command library made for Discord! :3

discord, discord-bot, waifu, slash, slash-commands, command, commands, discord-commands, discord-slash, commands-discord, slash-discord, slashy

readme

power

waifuslash

Waifu slash is a discord slash command library made for Discord! :3

npm i waifuslash

yarn add waifuslash

Usage

const { WaifuSlash, Command } = require('waifuslash');
const waifu = new WaifuSlash({
    publicKey: "key",
    botID: "Bot ID",
    botToken: "Bot Token"
});

const pingCommand = new Command()
.setName("ping")
.setDescription("Pong!")
.setOptions([]);

async function main() {
    const pushCommand = await waifu.createGlobalCommand(pingCommand);
}

main();

All rights reserved to the owners for the "Power" character