Commit graph

289 commits

Author SHA1 Message Date
Xujiayao
d4db7c0be9 Remove public access modifier from several class constructors 2026-03-23 02:04:13 +08:00
Xujiayao
a2735cea86 group MessageParsers and TextSegmentUtils 2026-03-23 01:50:55 +08:00
Xujiayao
085607e362 mv TextSegment 2026-03-23 01:26:09 +08:00
Xujiayao
203f21701a Add method to retrieve all Discord members and enhance mention handling 2026-03-23 01:03:32 +08:00
Xujiayao
241bc8d8ed Enhance MinecraftMessageParser to handle underscore delimiters within Discord alias emojis 2026-03-22 23:58:03 +08:00
Xujiayao
09bbe31b65 Add MinecraftRelayPacket and implement message handling for Minecraft user and system messages 2026-03-22 23:40:48 +08:00
Xujiayao
3b7a48cbbf Update configuration and localization 2026-03-22 18:41:26 +08:00
Xujiayao
28c915d52e Rename DiscordEventPacket to DiscordRelayPacket and update references 2026-03-22 18:15:16 +08:00
Xujiayao
e9f915e3f8 Fix warnings 2026-03-22 18:01:58 +08:00
Xujiayao
7bc6b00af0 Fix modifiers 2026-03-22 17:56:06 +08:00
Xujiayao
8257382ca1 修复mentions和timestamps没有被Markdown解析 2026-03-22 17:41:55 +08:00
Xujiayao
ce2aee857d Sum 2026-03-22 17:05:05 +08:00
Xujiayao
968cdd2858 Refactor webhook configuration for player chat messages and update allowed mentions handling 2026-03-20 19:33:49 +08:00
Xujiayao
8c6643e658 [skip ci] Enhance configuration for Minecraft message handling with detailed comments and explanation 2026-03-20 10:42:40 +08:00
Xujiayao
77166037e7 Group timestamp parsing 2026-03-20 08:43:15 +08:00
Xujiayao
c0bf011979 Refactor configuration for Minecraft message handling 2026-03-19 23:41:13 +08:00
Xujiayao
b27ee494bb Adding support for message cancellation 2026-03-19 21:53:12 +08:00
Xujiayao
d574483578 Set overwriting Minecraft source messages in login process 2026-03-19 21:11:23 +08:00
Xujiayao
efb2d857c1 Prepare for next step 2026-03-19 20:55:50 +08:00
Xujiayao
8ee189be00 better custom message key 2026-03-19 17:31:53 +08:00
Xujiayao
e60b271e1f Add support for player game mode changes 2026-03-19 14:53:33 +08:00
Xujiayao
147b7d1382 Fix 2026-03-19 14:52:01 +08:00
Xujiayao
d1276ce57d Better configs 2026-03-19 13:42:52 +08:00
Xujiayao
b76ea72e14 Rename chat key to message in localization files 2026-03-19 11:53:58 +08:00
Xujiayao
a9b77f7052 Separate message toggles 2026-03-19 11:44:56 +08:00
Xujiayao
3558f76f0d Refactor message templates and add support for /me command in localization files 2026-03-19 11:25:23 +08:00
Xujiayao
a2fb89616a Add console ANSI color output toggle for standalone logs 2026-03-19 10:28:37 +08:00
Xujiayao
a4ae4d74b2 Enhance asynchronous command response handling 2026-03-19 10:04:37 +08:00
Xujiayao
b6b83d1664 Add message source configurations and update event handling 2026-03-19 09:43:14 +08:00
Xujiayao
c57ef52bdd Fix unused warning 2026-03-18 22:16:40 +08:00
Xujiayao
a3a20d6730 Move reaction, edit, and delete broadcast toggles 2026-03-18 22:16:02 +08:00
Xujiayao
cf82008384 standalone控制台记录MC消息 2026-03-18 21:34:58 +08:00
Xujiayao
6ec2b17fea Enhance console command response handling and add localized no-response messages 2026-03-18 20:58:34 +08:00
Xujiayao
3694d8a513 Ignore system messages in event handling and cache updates
Fix #287
2026-03-18 13:40:39 +08:00
Xujiayao
79615a17af Fix message for message delete event 2026-03-18 13:06:55 +08:00
Xujiayao
31747ed4f4 Use localized messages 2026-03-18 12:49:59 +08:00
Xujiayao
ed61e30a76 Add callback executor 2026-03-18 01:34:41 +08:00
Xujiayao
271734b780 Prevent underscore delimiters from matching inside Discord alias emojis 2026-03-18 01:30:09 +08:00
Xujiayao
2f4f39766c Ignore messages edited by the bot when replying to slash commands 2026-03-18 01:12:16 +08:00
Xujiayao
031ba09831 Remove bot and webhook message checks from event handling 2026-03-18 00:55:15 +08:00
Jason Xu
5d34d8544d Fix potential thread leak on init failures
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Xujiayao
39f4189a9a Name the thread for Discord event handling 2026-03-18 00:55:15 +08:00
Xujiayao
90f7c911fa fix comments indents 2026-03-18 00:55:15 +08:00
Xujiayao
397326ecfe fix Discord alias emojis in referenced message parsing 2026-03-18 00:55:15 +08:00
Xujiayao
5a0bf63315 format 2026-03-18 00:55:15 +08:00
Xujiayao
58d5b65eb3 fix: update edited_message color 2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
abcf8a94ce fix spoiler edge cases and webhook reply fallback consistency
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
98dcc2c2ca fix spoiler mention parsing and server event logging parity
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Xujiayao
5517131a89 fix: adjust edited message formatting in localization files 2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
8a0bc09723 chore: polish parser formatting and docs after review
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00