Commit graph

153 commits

Author SHA1 Message Date
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
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
bf5e448aad
fix: add the helper methods for resolving flag values 2025-01-21 23:57:10 +09:00
dusk
2a063442ea
refactor(commands): remove Reset as a parameter type 2025-01-15 00:21:11 +09:00
dusk
6c54551a9e
fix(bot): fix ffi with flags 2025-01-14 23:30:53 +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
f0d287b873
feat(commands): show command suggestions if a command was not found 2025-01-11 22:38:29 +09:00
dusk
482c923507
feat: better parameters handling, implement multi-token matching 2025-01-07 23:15:18 +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
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
e70d69e45c
refactor: start to stop using ctx.Match 2025-01-05 00:58:48 +09:00
dusk
59bba77ae9
build: fix bot build, add generate commands binding app 2025-01-04 00:18:10 +09:00
dusk
7bd50db63e
Merge remote-tracking branch 'libglfw/rust-command-parser' into rust-command-parser 2025-01-03 20:18:35 +09:00
rladenson
edfc6714d6 feat: dynamically show primary command prefix 2025-01-01 19:15:13 -07:00
rladenson
1d50022d6d feat: user-readable error for TaskCanceledException 2025-01-01 16:52:55 -07:00
rladenson
2c4dea29be feat: add raw and plaintext formats to member avatar, proxy avatar, and guild avatar 2024-12-05 16:41:50 -07:00
alyssa
a0b528d4af feat(bot): update deprecated command warning for pk;serverconfig 2024-11-12 05:20:39 +09:00
Iris System
0473bd8f01 feat(bot): add new guild settings command 2024-11-10 15:47:43 +13:00
Iris System
2dfb851246 feat: add abuse handling 2024-11-05 11:19:52 +13:00
libglfw
77276c15e6 Merge branch 'main' into rust-command-parser 2024-11-02 15:16:29 -07:00
alyssa
e4ed354536 feat: gateway service 2024-10-20 09:36:20 +09:00
Petal Ladenson
23fe904464
feat(bot): add -plaintext flag alongside -raw 2024-10-03 17:23:33 +09:00
alyssa
c3cc5c9d03 init rust command parser 2024-09-13 16:02:30 +09:00
Petal Ladenson
601d266063
feat(bot): add many aliases 2024-08-29 21:32:22 +09:00
alyssa
d305faf401 refactor(bot): clean up cache extensions 2024-08-07 19:14:32 +09:00
alyssa
4e285c75fb fix(bot): add "proxy" to pk;m privacy help/error text 2024-05-30 00:08:35 +09:00
Iris System
e93609df91 fix(bot): use ParseHid for input check in CreateNotFoundError 2024-05-11 20:07:01 +12:00
Iris System
dc3e21a195 fix(bot): correct length check in ctx.CreateNotFoundError 2024-05-11 20:07:01 +12:00
Iris System
9f56697241 feat: initial 6-character HID rework 2024-05-11 20:07:01 +12:00
Iris System
6547f1ca20 fix(bot): add AvatarSource.HostedCdn 2024-02-13 22:42:40 +13:00
Jake Fulmine
8befb1c857
fix(bot): avoid 403 status codes on image upload (#611) 2024-02-09 16:38:17 +13:00
Iris System
8cf50a7d97 fix(bot): remove query params from image attachment URLs for now
Discord is adding authentication parameters to CDN URLs - these being
present in stored URLs breaks when they expire, but CDN URLs still work
without those parameters until November/December 2023
2023-10-02 10:48:13 +13:00
ambdroid
87337d695b
fix(bot): use correct code point for chevrons (#573) 2023-07-20 15:22:38 +12:00
spiral
2fea773d7e
fix(bot): validate url in pk;import 2022-12-06 10:15:20 +00:00
spiral
f9abcc68c4
refactor(bot): separate MatchClear from ConfirmClear 2022-12-01 07:16:36 +00:00
spiral
e9673a6704
feat: use redis cache for non-id message lookups 2022-11-24 06:32:55 +00:00
spiral
cc0edd3ed8
chore: lint 2022-07-05 14:42:58 -04:00
spiral
b04b6e38d2
feat(bot): allow 'pk;logclean' in DMs 2022-06-21 11:13:24 -04:00
spiral
5c055871e3
feat(bot): store command message info in redis 2022-06-19 20:28:55 -04:00
spiral
9848b88d5b
feat(bot): don't query db message context when running commands 2022-06-15 19:28:34 -04:00
spiral
f3c02a4254
feat(bot): remove deprecated commands 2022-06-14 15:55:08 -04:00
spiral
1b5efb6669
feat: add Context.CommandPrefix 2022-05-02 14:53:08 -04:00
spiral
bc2cfbeba3
fix: check if member target is 5-length alpha before trying to search by HID (#441) 2022-04-24 14:51:47 -04:00
rladenson
576b23bca5
fix: try getting own-system members first even when matching hid (#439)
this is a bandaid fix for an issue where queries matching only the hid index would get stuck forever
2022-04-06 02:19:35 -04:00
spiral
973d6d883c
fix: get guild from REST for pk;proxy across clusters
also closes #330.
2022-03-30 05:54:21 -04:00
spiral
a23108f24b
fix: actually use REST guild instead of returning no permissions 2022-03-30 04:51:33 -04:00