vCodes
Search…
Events

Ready Event

1
dbl.on("ready", (bot) => {
2
console.log(`Bot named ${bot.username} successfully finded on vCodes.`)
3
})
4
​
5
// => Bot named Allegro successfully finded on vCodes.
Copied!

​

Vote Event

1
dbl.on("vote", ({ user }) => {
2
console.log(`${user.username} voted.`)
3
})
4
​
5
// => clqu voted.
Copied!
If you want the bot profile, use it like this;
1
dbl.on("vote", ({ user, bot }) => {
2
console.log(`${user.username} voted ${bot.username}`)
3
})
4
​
5
// => clqu voted Allegro.
Copied!
Export as PDF
Copy link