mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
945e0dc22841a3b7c3cc9496572b65dfa07d15a7
Sern
Sern is making easier to create & automate your discord bot with new version compatibility and full customization.
- A reincarnation of this old project
Installation
npm install sern-handler
yarn add sern-handler
Basic Usage
import { Sern, PayloadOptions } from 'sern-handler';
const payload = new PayloadOptions({
commands: '/commands', // Folder where all commands are located (subfolders supported).
events: '/events' // Events folder directory (subfolders supported).
owners: ['182326315813306369'], // Array of Discord ID(s).
prefix: '/', // Prefix for your bot (if no provied then it will use /).
client // The instance of Discord#Client().
});
const handler = new Sern(payload); // Create a new instance of Sern with payloads.
Links
Contribute
- Pull up on issues and tell me if there are bugs.
- Check issues.
- Any contributions are open to suggestion!
Languages
TypeScript
100%