Commit graph

77 commits

Author SHA1 Message Date
dusk
047bdd870d
feat: implement system delete command 2025-04-04 04:47:00 +09:00
dusk
9e74835e4b
feat: implement system banner commands 2025-04-04 04:27:28 +09:00
dusk
6a840f768f
feat: implement system serveravatar commands 2025-04-04 04:06:51 +09:00
dusk
b62340cbb3
feat: implement system avatar commands 2025-04-04 03:50:07 +09:00
dusk
293570c91c
feat: add confirm yes flag to clear handlers for system edit 2025-04-01 16:50:43 +09:00
dusk
ae2703f5d9
feat: implement system pronouns commands 2025-04-01 16:33:00 +09:00
dusk
4cc729c93c
feat: add color, tag, description, server tag system commands 2025-04-01 01:03:49 +09:00
dusk
ac52b5c257
feat: implement system name etc. commands 2025-03-31 22:22:38 +09:00
dusk
87f6fe9d75
refactor(command_parser): improve the invalid flags error 2025-03-29 14:51:58 +09:00
dusk
3e65d74bc4
fix(command_parser): use correct invalid_flags variable when constructing that error 2025-03-29 14:34:15 +09:00
dusk
a5576ad225
fix(command_parser): don't return a command early if there is still input left 2025-03-29 14:09:40 +09:00
dusk
e8f8e5f0a3
Merge remote-tracking branch 'upstream/main' into rust-command-parser 2025-03-29 07:36:43 +03:00
alyssa
e0c6839cd2 fix(avatars): don't send image errors that aren't our fault to sentry 2025-03-10 15:16:32 +00:00
alyssa
2be3fe6a00 fix: disable twilight ratelimiter when using proxy 2025-03-08 18:57:13 +00:00
alyssa
b77390c0cd feat: add metric for remaining gateway sessions 2025-03-08 13:13:14 +00:00
alyssa
f2583904ef chore(rust): clean up duplicated sentry code 2025-03-08 12:05:00 +00:00
alyssa
3cf71112d6 feat(gateway): add metric for shard close code 2025-03-08 12:04:13 +00:00
alyssa
ec49ead783 fix(gateway): remove superflous redis error handling code that actually created more errors 2025-03-08 11:58:54 +00:00
alyssa
5fa9266d8d fix(avatars): shorter error message for image pull failure 2025-03-08 11:49:01 +00:00
alyssa
63777bf810 feat: add sentry error logging to dotnet-api and rust crates 2025-02-23 18:49:31 +00:00
alyssa
d537f05b23 feat(bot): use avater service for image verify 2025-02-23 09:33:32 +00:00
dusk
a2329de95b
fix(command_definitions): actually use the RESET constant we defined before 2025-01-24 05:25:46 +09:00
dusk
e3778b9bb8
refactor(command_parser): move parameter fmt to Parameter types Display impl 2025-01-24 05:16:15 +09:00
dusk
58d493ac0a
refactor(command_parser): combine TokenMatchError and TokenMatchedValue into a single result type 2025-01-24 04:40:07 +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
071db3d6d6
refactor(command_parser): simplify how tokens are defined in commands 2025-01-24 04:08:59 +09:00
dusk
f804e7629f
fix(commands): add csharp glue codegen binary, it was gitignored 2025-01-24 01:57:13 +09:00
dusk
35f7bdbaf5
refactor(command_parser): separate Token::Value field into name and aliases 2025-01-22 02:12:17 +09:00
dusk
ff6dc12cae
feat(command_parser): allow aliases in flags 2025-01-22 00:50:17 +09:00
dusk
bf5e448aad
fix: add the helper methods for resolving flag values 2025-01-21 23:57:10 +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
07b616e422
Merge remote-tracking branch 'upstream/main' into rust-command-parser 2025-01-21 00:46:50 +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