dusk
0c012e98b5
refactor: separate commands into command_parser, command_definitions crates
2025-01-21 04:31:03 +09:00
dusk
300539fdda
feat(commands): add typed flags, misplaced and non-applicable flags error reporting
2025-01-14 11:53:56 +09:00
dusk
d5c271be20
refactor(commands): clearer token match typing, make tree.possible_commads return iterator instead of traversing the whole tree immediately
2025-01-12 04:23:46 +09:00
dusk
f0d287b873
feat(commands): show command suggestions if a command was not found
2025-01-11 22:38:29 +09:00
dusk
ee45fca6ab
refactor(commands): make tree type properly hygienic
2025-01-11 20:25:41 +09:00
dusk
3120e62dda
refactor(commands): move tree branch construct code into type method
2025-01-11 19:51:45 +09:00
dusk
b477ade3fe
fix(commands): don't use possible tokens, directly use branches.keys() since its ordered now
2025-01-05 13:12:02 +09:00
dusk
eec9f64026
feat: implement proper ("static") parameters handling command parser -> bot
...
feat: handle few more commands bot side
fix(commands): handle missing parameters and return error
refactor(commands): use ordermap instead of relying on a sort function to sort tokens
2025-01-05 13:00:06 +09:00
dusk
b9867e7ea3
refactor(commands): also use smolstr for commands themselves
2025-01-04 07:43:55 +09:00
dusk
af523a4c23
refactor(commands): separate commands definitions and other code into modules
2025-01-04 07:35:04 +09:00