Discord bot framework built with Inversify and Discord.js.
class BotService extends HadesBotService {
@inject(ILogger) log: ILogger;
async onReady() {
this.log.info(
`Logged in as ${this.client.user.username}.`
);
}
async onMessage(msg: Message) {
if (this.isHighlight(msg.content)))
await msg.reply('Hello!');
}
}
Designed from the ground up to streamline bot design.
As your project grows, you don't need to change your approach.
Automatic dependency management lets you focus on your bot's business logic.