waifuslash
v1.0.3
Published
Waifu slash is a discord slash command library made for Discord! :3
Downloads
15
Maintainers
Readme
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