Skip to content

sern-handler/handler

Repository files navigation

Handlers. Redefined.

A complete, customizable, typesafe, & reactive framework for discord bots

NPM version NPM downloads License MIT docs.rs Lines of code

Why?

  • For you. A framework that's tailored to your exact needs.
  • Lightweight. Does a lot while being small.
  • Latest features. Support for discord.js v14 and all of its interactions.
  • Start quickly. Plug and play or customize to your liking.
  • Works with bun and node out the box!
  • Use it with TypeScript or JavaScript. CommonJS and ESM supported.
  • Active and growing community, always here to help. Join us
  • Unleash its full potential with a powerful CLI and awesome plugins.

πŸ“œ Installation

Start here!!

πŸ‘Ά Basic Usage

ping.ts
export default commandModule({
  type: CommandType.Slash,
  //Installed plugin to publish to discord api and allow access to owners only.
  plugins: [publish(), ownerOnly()],
  description: 'A ping pong command',
  execute(ctx) {
    ctx.reply('Hello owner of the bot');
  }
});

Show off your sern Discord Bot!

Badge

πŸ€– Bots Using sern

  • Community Bot - The community bot for our Discord server.
  • Vinci - The bot for Mara Turing.
  • Bask - Listen to your favorite artists on Discord.
  • Murayama - :pepega:
  • Protector - Just a simple bot to help enhance a private Minecraft server.
  • SmokinWeed πŸ’¨ - A fun bot for a small, but growing server.
  • Man Nomic - A simple information bot to provide information to the nomic-ai Discord community.
  • Linear-Discord - Display and manage a linear dashboard.
  • ZenithBot - A versatile bot coded in TypeScript, designed to enhance server management and user interaction through its robust features.

πŸ’» CLI

It is highly encouraged to use the command line interface for your project. Don't forget to view it.

πŸ”— Links

πŸ‘‹ Contribute

  • Read our contribution guidelines carefully
  • Pull up on issues and report bugs
  • All kinds of contributions are welcomed.