ordis
v1.0.1
Published
Create modular, object-oriented Discord bots using Ordis
Downloads
5
Maintainers
Readme
Ordis 🚀
With Ordis, you can easily create Object-Oriented Discord Bots
Installation
npm i ordis
Usage
import { OrdisClient, Intents, Plugin } from 'ordis';
const client = new OrdisClient(Intents.Default);
client.login('token');
class MyPlugin extends Plugin {
constructor() {
super('My plugin');
}
apply(client) {
console.log(`Applied plugin ${this.name} to the bot.`);
}
}
client.use(new MyPlugin());