Commit graph

62 commits

Author SHA1 Message Date
dusk
74e7af0ee1
remove new MatchFlag usage, fix glue gen 2025-11-23 17:09:22 +00:00
dusk
d8748b1efc
remove OpaqueStringRemainder and use Remainder like intended 2025-11-23 10:28:46 +00:00
dusk
a307dd37c4
fix message edit commands, parse DM message links for ids 2025-10-13 10:25:55 +00:00
dusk
ca9f25ff64
use correct name for resolving flags and params in codegen 2025-10-11 05:49:01 +00:00
dusk
42c9429953
hide admin commands from suggestions etc. 2025-10-11 05:17:13 +00:00
alyssa
a9355654df fix docker build 2025-10-08 21:50:58 +00:00
dusk
77444bff2e
add flags for public / private 2025-10-08 17:57:56 +00:00
dusk
dbab8c0eb5
update uniffi to latest 2025-10-08 14:22:10 +00:00
dusk
479e0a59b5
remove rest of the parsing in csharp bot 2025-10-08 03:26:40 +00:00
dusk
15ffd16c01
implement command root 2025-10-07 21:59:26 +00:00
dusk
0f26a69f1b
implement the rest of the config commands 2025-10-04 19:32:58 +00:00
dusk
a268f75d32
implement admin commands 2025-10-04 01:57:48 +00:00
dusk
5198f7d83b
better parameters handling, implement import export 2025-10-03 15:50:54 +00:00
dusk
e4f38c76a9
implement proxied message and permcheck commands 2025-10-03 02:21:12 +00:00
dusk
1943687c70
implement rest of group and member commands 2025-10-01 00:51:45 +00:00
dusk
95fc7e9f60
implement parse list options and related commands 2025-09-30 18:45:35 +00:00
dusk
c92c3f84f0
implement random commands, dont keep the subcommands only the flags 2025-09-26 23:56:49 +00:00
dusk
10dd499835
feat: implement switch commands 2025-09-24 21:32:42 +03:00
dusk
3eece261fd
feat: implement system privacy commands (yay system edit done) 2025-04-04 06:14:17 +09:00
dusk
cb0a9eaf9f
feat: implement system proxy commands 2025-04-04 05:24:09 +09:00
dusk
047bdd870d
feat: implement system delete command 2025-04-04 04:47:00 +09:00
dusk
b62340cbb3
feat: implement system avatar commands 2025-04-04 03:50:07 +09:00
dusk
ac52b5c257
feat: implement system name etc. commands 2025-03-31 22:22:38 +09:00
dusk
92276a720e
refactor(command_parser): remove the Empty token, we don't need it 2025-01-24 04:13:06 +09:00
dusk
f804e7629f
fix(commands): add csharp glue codegen binary, it was gitignored 2025-01-24 01:57:13 +09:00
dusk
07e8a4851a
feat(commands): add cs codegen to statically use params and flags in bot code, remove Any 2025-01-21 12:36:54 +09:00
dusk
0c012e98b5
refactor: separate commands into command_parser, command_definitions crates 2025-01-21 04:31:03 +09:00
dusk
4f390e2a14
refactor(commands): remove some unnecessary branching 2025-01-21 01:01:49 +09:00
dusk
2a66e8b4cf
refactor(commands): remove general From array impl for tokens because it doesnt make sense 2025-01-21 00:39:25 +09:00
dusk
c6db96115e
refactor(commands): remove help text from command macro and use method to set it 2025-01-20 22:50:45 +09:00
dusk
07541d9926
refactor(commands): rewrite how parameters are handled so they work same across cmd params / flag params, and make it easier to add new parameters 2025-01-15 03:52:32 +09:00
dusk
a1f7656276
refactor(commands): FullString -> OpaqueRemainder and add OpaqueString 2025-01-15 00:35:22 +09:00
dusk
2a063442ea
refactor(commands): remove Reset as a parameter type 2025-01-15 00:21:11 +09:00
dusk
50981c1750
style: format 2025-01-14 11:56:02 +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
816aa68b33
fix(commands): mark Any tokens as 'match remainder' if it has a 'match remainder' token in it 2025-01-12 21:10:38 +09:00
dusk
b020e0a859
fix(commands): make full string actually match the rest of the input again 2025-01-12 20:35:44 +09:00
dusk
413b8c1915
fix(commands): make flags not match if param was in quotes 2025-01-12 19:30:21 +09:00
dusk
a21210f3ce
refactor(commands): remove args from parse command as it is no longer used anymore 2025-01-12 05:55:25 +09:00
dusk
58b5a26eca
fix(commands): add separate missing error for Token::Any to relay a better error message to user 2025-01-12 05:35:04 +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
877592588c
fix(commands): use token for display in missing param error instead of using param name directly 2025-01-11 23:22:00 +09:00
dusk
319a79d1d6
fix(commands): prefix in missing parameter error 2025-01-11 23:19:50 +09:00
dusk
4cf17263d1
feat(commands): only show max N amount of suggestions 2025-01-11 23:11:15 +09:00
dusk
58f07c3baa
feat(commands): allow commands to not be suggested 2025-01-11 23:05:29 +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
c43a855184
feat(commands): make bin parse any commands passed to it 2025-01-11 19:49:16 +09:00
dusk
4f7e9c22a1
feat(commands): implement Display traits for Token and Command to have some basic 'doc gen', split Toggle into Enable and Disable 2025-01-08 18:31:59 +09:00