Cord.js is a Discord Bot framework with a simple, extensible API built on top of Discord.js.
Get Startedimport Cord from '@cordjs/bot'
import Gateway from '@cordjs/gateway'
const bot = Cord([
Gateway({ token: '...' }),
])
bot.gateway.messageCreate(context => {
const { message } = context.data
if (message.content === 'ping') {
message.reply('🏓 Pong!')
}
})
bot.start()
Cord.js is currently highly in development.