waifuslash
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i waifuslash

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

149 kB

Total Files

114

Last publish

Collaborators

  • j_ddev