Commit graph

3351 commits

Author SHA1 Message Date
alyssa
f64790eee7 feat(docs): announcements 2025-01-14 06:55:31 +00: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
8a01d7d37a
style: format 2025-01-12 04:27:02 +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
alyssa
e50a959910 fix(bot): update formatting in pk;stats 2025-01-11 01:40:04 +00:00
alyssa
d5ecccc485 fix(scheduled_tasks): better error handling 2025-01-11 01:37:16 +00: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
alyssa
ce8d6ed8d3 fix(dispatch): don't silently 200 when auth failed 2025-01-08 05:21:44 +00:00
dusk
482c923507
feat: better parameters handling, implement multi-token matching 2025-01-07 23:15:18 +09:00
dusk
b29c51f103
build(nix): use nix develop in process scripts instead of repeating inputs in runtimeInputs 2025-01-07 14:11:10 +09:00
rladenson
d2189dea73 feat: show appropriate warnings when setting tag 2025-01-05 05:59:10 -07:00
rladenson
4782b5f825 feat: compress commands that give multiple responses into one response 2025-01-05 04:50:58 -07:00
dusk
7496ae1c45
refactor: rename parameters file since that's the only one we are using now 2025-01-05 16:31:02 +09:00
dusk
021a5ae897
chore: more todos 2025-01-05 16:30:05 +09:00
alyssa
b344b8ca41 fix(bot): remove broken dev build info code 2025-01-05 05:23:38 +00:00
alyssa
e2b3bafef0 actually run build 2025-01-05 05:11:50 +00:00
alyssa
e2549332d4 actually fix build 2025-01-05 04:57:24 +00:00
alyssa
c755124900 fix build? 2025-01-05 04:54:40 +00:00
dusk
77f5642307
feat: meow 2025-01-05 13:12:07 +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
alyssa
57ae3b5e49 fix(bot): add shard up count to stats embed, add stats fallback 2025-01-05 01:49:32 +00:00
alyssa
9f8d3d22d2 feat: new stats embed / api 2025-01-05 00:52:45 +00:00
alyssa
e88d6b7e2a feat(gateway): push shard latency to prometheus 2025-01-04 23:04:58 +00:00
dusk
1a781014bd
fix: send correct error message if a parsed command is not implemented, etc 2025-01-05 02:21:23 +09:00
dusk
2027da40ad
build(nix): actually make sure libcommands.so is outputted to correct dir (obj) 2025-01-05 01:52:19 +09:00
dusk
00ba1753a2
build(nix): build pk to correct build dir so it picks up libcommands.so 2025-01-05 01:22:19 +09:00
dusk
42ea1e1bb1
build(nix): simplify process compose config 2025-01-05 01:18:59 +09:00
dusk
ff121ecc51
refactor(commands): ToToken trait for easier conversion into tokens 2025-01-05 00:59:59 +09:00
dusk
e70d69e45c
refactor: start to stop using ctx.Match 2025-01-05 00:58:48 +09:00
rladenson
b2b9623942 chore: rework group displayname embed to better respect name privacy 2025-01-04 05:40:41 -07:00
rladenson
127714066c fix: character count shown to non-owners of info 2025-01-04 04:55:10 -07:00
rladenson
b69a64a81d feat: ability to query member names 2025-01-04 04:43:31 -07:00
rladenson
dbe7560059 fix: do not reveal if displayname is set if name is private 2025-01-04 04:11:33 -07:00
rladenson
bba86fe98b fix: respect system avatar privacy 2025-01-04 03:40:31 -07:00
dusk
b89bc44a27
refactor(commands): quote pairs code now uses smolstr and doesnt use macro 2025-01-04 07:56:40 +09:00