ZacharyTalis / AltTextBot

A Discord bot designed to reduce the message clutter associated with image alt-text. Also includes leaderboard functionality for alt-text submitters!
https://zacharytalis.com/blog/atb
Apache License 2.0
2 stars 0 forks source link

Add eventing for better access to bot execution. #9

Closed glossawy closed 2 years ago

glossawy commented 4 years ago

Looking to implement a small event architecture to enhance board commands.

The idea is that we could do something like:

bot.onCommandComplete(PingCommand.class, e -> e.success ? Boards.consume(e.userMessage) : somethingElse());

Commands would probably be:

for now.

glossawy commented 2 years ago

No compelling use case