1.0.0 • Published 3 years ago
discord.js-custom v1.0.0
This is just a forked discord.js module, use in your projects, etc idc lol
Examples
const Discord = require('discord-custom.js')
const bot = new Discord.Client();
bot.on('ready', async () => {
console.log(`Ready!`)
})
bot.on('message', async message => {
if(message.content === 'ping'){
message.channel.send(`Bot websocket ping: ${bot.ws.ping}ms`)
}
})
1.0.0
3 years ago