rache.dbd - Kolay kodlar ve gelişmiş Discord Botları yapmanızı sağlayan kütüphane.
npm install rache.dbd``js
const dbd = require("rache.dbd")
const bot = new dbd.Bot({
token: "TOKEN",
prefix: "!"
})
bot.onMessage()
bot.command({
name: "ping",
code: $ping Pong! `
})
With easy and simple functions, you can make Slash Commands with your Bots quick!
`js$createSlashCommand[$guildID;version;Returns rache.dbd Version]
bot.command({
name: "slash",
code: $interactionReply[$packageVersion]
})
bot.interactionCommand({
name: "version",
code: `
})
bot.onInteractionCreate()
#### Music Support
With our powerful Package, we incorporated Music with several functions.
We allowed customization and control, over what you want.
#### Music Function Examples
`js`
$playSong - $playSong[song;leave vc time;defean (yes or no);leave when vc empty (yes/no);error]
$skipSong - Skip the current song in queue.
$stopSong - Stop all songs in queue.
$loopQueue - Loop all songs in queue.
$skipTo - Skip to a song in the current queue.
What are variables? They can be used for many things, especially allowing to save data.
Such as allowing level system, currency system and much more!
`js`
bot.variables({
Name: "Value",
Name2: "Value2"
})
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.
`js<@$authorID> just joined, welcome!
bot.joinCommand({
channel: "Channel ID",
code: `
})
bot.onJoined()
Add a custom message to your Bot Activity!
`js``
bot.status({
text: "TEXT",
type: "PLAYING",
time: 12
})
If you don't understand something, confused, bug reports, errors, or need assistance. Join our.
https://discord.gg/rsHHQAnSua