retronbv / beeptools

Tools for bot devs!

Home Page:https://npmjs.com/package/beeptools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚡️ beeptools

Tools to make developing your bot easier!

npm badge gh badge GitHub stars

(requires NodeJS 16 or higher!)

Just simply import into your code!

const beeptools = require("beeptools")
beeptools.RegisterSlash(process.env.TOKEN, guildId, clientId, "path/to/slash/commands/dir");
// Now my slash commands are up to date :D

What you can do (so far 😏):

  • Easily update slash commands as you develop
  • Create slash commands easily
  • Create a "keep alive" webserver

Here is how your slash command file should look:

const { Builders } = require('beeptools');

// I can easily make a slash command with the slash command builder!

module.exports = Builders.SlashCommandBuilder.Builder(Builders.SlashCommandBuilder.MetaBuilder("ping", "Simple ping command!"), (interaction)=>{
  await interaction.reply({content:"Ping!"})
})