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
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
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
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
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
dusk
b89bc44a27
refactor(commands): quote pairs code now uses smolstr and doesnt use macro
2025-01-04 07:56:40 +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
dusk
405ac11d74
refactor(commands): use smolstr, use a decl macro to get rid of all the borrows while creating commands
2025-01-04 02:49:04 +09:00
dusk
11842e7637
build(nix): dont forget to copy commands lib for bot to use
2025-01-04 00:45:48 +09:00
dusk
7949e7e1f9
fix: enable chrono on sqlx, libpk uses it
2025-01-04 00:39:21 +09:00
dusk
6a0c8fdc26
build(nix): use release path for commands lib output
2025-01-04 00:38:51 +09:00
dusk
313261e46e
build: add rust-src componenet for rust-analyzer and such
2025-01-04 00:38:27 +09:00
dusk
59bba77ae9
build: fix bot build, add generate commands binding app
2025-01-04 00:18:10 +09:00
dusk
a6482d929c
chore: update cargo lock, ignore generated commands file
2025-01-03 20:26:52 +09:00
dusk
63a35c78ac
chore: move command parser into crates
2025-01-03 20:19:50 +09:00
dusk
7bd50db63e
Merge remote-tracking branch 'libglfw/rust-command-parser' into rust-command-parser
2025-01-03 20:18:35 +09:00
alyssa
3329e48e1b
fix(scheduled_tasks): expected_gateway_count is not inclusive
2025-01-03 04:29:30 +00:00
alyssa
40b6ab1d87
fix(bot): ratelimit only initial websocket connection
2025-01-02 18:50:02 +00:00
alyssa
efdbf708a0
fix(ci): update rust github actions workflow
2025-01-02 06:49:49 +00:00
alyssa
5466e5051b
fix(avatars): use correct timestamp type
2025-01-02 06:43:57 +00:00
alyssa
8f664dc54d
feat(api): accept member for latch autoproxy
2025-01-02 06:02:57 +00:00
alyssa
c998a66a46
fix(ci): specify new rust crates path
2025-01-02 05:20:43 +00:00
alyssa
cb5b9fde8b
fix: remove accidentally committed code
2025-01-02 05:20:43 +00:00
alyssa
89d6481ddb
chore: clean up compile warnings
2025-01-02 05:20:43 +00:00
alyssa
16ce67e02c
chore: reorganize rust crates
2025-01-02 05:20:43 +00:00
alyssa
357122a892
fix(scheduled_tasks): replace broken time parsing code with cron library
2025-01-02 05:20:43 +00:00
alyssa
f1de2f2858
feat: wait 24h before deleting cdn images
2025-01-02 05:20:43 +00:00
alyssa
31c0253b00
fix(scheduled_tasks): replace broken time parsing code with cron library
2025-01-02 05:20:43 +00:00
alyssa
8d53021863
fix(bot): silence internal errors from initial handler checks
2025-01-02 05:20:43 +00:00
alyssa
e44d2afd7e
fix(ci): add entire lib folder
2025-01-02 05:20:43 +00:00
alyssa
882e9b66f2
feat(api): port discord/callback to rust
2025-01-02 05:20:43 +00:00
alyssa
3e194d7c8a
feat(models): basic rust impl
2025-01-02 05:20:43 +00:00
alyssa
0862964305
feat: rewrite scheduled_tasks in rust
2025-01-02 05:20:43 +00:00
rladenson
4bfee8a090
fix: crash when no prefixes in config file
2025-01-01 20:47:24 -07:00
rladenson
d0515645d0
fix: account for variable tag location in tag set response
2025-01-01 19:26:39 -07:00