Skip to main content

@hades-ts/hades

Discord bot framework built with Inversify and Discord.js.

@singleton()
export class BotService extends HadesBotService {

@inject(ILogger) log: ILogger;

async onReady() {
this.log.info(
`Logged in as ${this.client.user.username}.`
);
}

async onMessage({ content, reply }: Message) {
if (this.isHighlight(content))) {
await reply('Hello!');
}
}
}

Easy to Use

Designed from the ground up to streamline bot design.

Scales with your Project

As your project grows, you don't need to change your approach.

Promotes Clean Architecture

Automatic dependency management lets you focus on your bot's business logic.