A Multipurpose Discord Bot with dbd.js
- Go to
index.js
and keep your status and token
How to do it?
const bot = new dbd.Bot({
mobile: false, //U can change to true if u wanna have a mobile status
token: "XXXXXXXXXX", //CHANGE with your TOKEN
prefix: ['$getServerVar[prefix]', '<@!$clientID>', '<@$clientID>']
})
- After that scroll down and change status
Status Example
bot.status({
text: `with $serverCount servers`, // put any text
type: "PLAYING", // LISTENING, PLAYING, WATCHING, COMPETING
status: "online", // online, dnd, idle, invisible
time: 75 // amount of times where you can change the bot status (if have multiple statuses)
})
- For Multiple Status
Multiple Status Example
bot.status({
text: `AMONG US`,
type: "COMPETING",
status: "online",
time: 75
})
bot.status({
text: `music`,
type: "LISTENING",
status: "online",
time: 75
})
bot.status({
text: `with $serverCount servers`,
type: "PLAYING",
status: "online",
time: 75
})
- For Streaming Status
Streaming Status Example
bot.status({
text: "text",
type: "STREAMING",
url: "enter url/link"
})
- After that go to
vars.js
module.exports = ({
prefix: "!", // Change with your prefix
xp: "0",
level: "0",
req: "50",
expcd: "45",
leveling: "enabled", //U can disable if u want
money: "0"
})
- Fill with your steps
After that go to terminal and type
npm innit --y
andnpm i dbd.js@2.2.6
andnpm i dbd.db
and after donpm i dbdjs.db
and to start the bot typenode index.js
🔨 Utility
help
command
invite
setprefix
⬆️ Leveling
leveling enable/disable
levels
exp
expcooldown
💰 Economy
daily
work
beg
pay
balance
leaderboard
award (Bot Developer only command)
ℹ️ Infomation
userinfo
channelinfo
roleinfo
serverinfo
botinfo
developerinfo
🎵 Music
play
stop
pause
resume
skip
skipto
queue
lyrics
volume
loopqueue
loopsong
nowplaying
🌌 Miscellaneous
avatar
membercount
emojicount
poll
💻 Developer
eval