dbd.js
![Discord Server](https://img.shields.io/discord/773352845738115102?color=5865F2&logo=discord&logoColor=white)
Table Of Contents
THIS PACKAGE WILL NO LONGER BE MAINTAINED ANYMORE.
PLEASE USE AOI.JS FOR FURTHER UPDATES / SUPPORT.
About
dbd.js is a package that aim to allows you to make your Discord Bots with Ease.
Aiming to be the easiest package to learn
It's swift and flexible using functions
Setup
const dbd = require("dbd.js")
const bot = new dbd.Bot({
token: "TOKEN",
prefix: "!"
})
bot.onMessage()
bot.command({
name: "ping",
code: `$ping Pong!`
})
Variables
What are variables? They can be used for many things, especially allowing to save data.
This allows to create potential currency system, level system, etc.
bot.variables({
VariableName1: "Value",
VariableName2: "Value2"
})
Callbacks
What are callbacks?
It's simple and easy process, it essentially allows you to run events, such as user joining a Guild.
This will trigger a event, causing a code to be executed such as.
bot.joinCommand({
channel: "Channel ID",
code: `<@$authorID> just joined, welcome!`
})
bot.onJoined()
Additional Support
Slash Commands
With easy and simple functions, you can make Slash Commands with your Bots quick!
bot.command({
name: "slash",
code: `$createSlashCommand[$guildID;version;Returns DBD.js Version]`
})
bot.interactionCommand({
name: "version",
code: `$interactionReply[$packageVersion]`
})
bot.onInteractionCreate()
More Information in our Documentation
Music
With our powerful Package, we incorporated Music with several functions.
We allowed customization and control over what you want.
Music Setup Example
bot.command({
name: "play",
code: `$playSong[song;leave vc time;defean (yes or no);leave when vc empty (yes/no);error]`
})
More Information in our Documentation
Links