A Discord bot designed to reduce the message clutter associated with image alt-text. Also includes leaderboard functionality for alt-text submitters!
2
stars
0
forks
source link
Add eventing for better access to bot execution. #9
Closed
glossawy closed 2 years ago
Looking to implement a small event architecture to enhance board commands.
The idea is that we could do something like:
Commands would probably be:
onCommandStart(Class<CommandBody>, Consumer<CommandStartEvent>)
PingCommand.class
)onCommandStart(Consumer<CommandStartEvent>)
onCommandComplete(Class<CommandBody>, Consumer<CommandCompleteEvent>)
onCommandComplete(Consumer<CommandCompleteEvent>)
for now.