a typesafe, elysia-inspired discord library for typescript.
early. apis will change.
import { Ember, GatewayIntent, intents } from '@ember/core'
new Ember({
token: process.env.DISCORD_TOKEN!,
intents: intents(GatewayIntent.Guilds, GatewayIntent.GuildMessages),
})
.command('ping', (ctx) => ctx.reply('pong'))
.event('messageCreate', (msg) => console.log(msg.content))
.listen()@ember/core— gateway client, command builder, plugin system@ember/dashboard— auto-generated bot dashboard (elysia + better-auth)
basic-bot · community-bot · components-demo · full-featured · plugin-example · voice-bot
mit