Build your best Discord Bot.

Cord.js is a Discord Bot framework with a simple, extensible API built on top of Discord.js.

Get Started
import 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()

Work in progress

Cord.js is currently highly in development.