1.0.1 • Published 9 months ago

sabotage.js v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Sabotage.Js

SABOTAGE. JS

Powerful Package that helps developing discord bot more easy

Features

@ Already included interaction Event handler ( you can use discord.js also to make custom Events, ready is Alr there)

@ Easy Command handler setting

commandhandler(`${__dirname}/commands`, client) 

@ Register Global and Server slash commands easily

Registering global slash commands:

registerGlobalCmd( `${__dirname}/commands`, clientId , token)

Registering server slash commands:

registerServerCmd(`${__dirname} /commands`, clientId, guildId, token) 

Example:

const  { Daddyison, TheHeck, Clientuwu, HotEvents, MakeaSlash, loadammo, UwuGateIntentBit, commandhandler, registerGlobalCmd } = require('sabotage.js')
const token = process.env['token']
const client = new Clientuwu({ intents: [UwuGateIntentBit.Guilds] });

Daddyison(client)
console.log('hi')
loadammo(token, client)
commandhandler(`${__dirname}/commands`, client)
registerGlobalCmd( `${__dirname}/commands`, clientid, token)

daddyison(client) is a ready event and loadammo the login

V1

Stay tuned for more updates

Github

1.0.1

9 months ago

1.0.0

9 months ago