amycatgirl / autokickbot

idea -> thing
MIT License
0 stars 0 forks source link

Better command handling #1

Open amycatgirl opened 1 month ago

amycatgirl commented 1 month ago

The command handler should be able to do the following things:

amycatgirl commented 3 weeks ago

A DSL could be a solution here. Although, that would introduce a lot of this keywords across commands, which harms readability.

More research is needed for DSLs.

As for builder patterns, given how I want type-safe arguments and permissions to work, they might be the best fit.

Typing objects is hellish, even more so if you want other parts of the object to "react" to argument types.