Commit graph

1370 commits

Author SHA1 Message Date
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
85af5d89d7 JDK 25 2026-03-18 21:50:10 +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
e3216e2bc8 /console命令兼容LuckPerms,支持异步执行的命令
Fix #245
2026-03-18 20:21:28 +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
copilot-swe-agent[bot]
1bb5c52b1e feat improve spoiler coverage edit layout and console parity logging
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Xujiayao
d8e3554a04 fix: update sound notification 2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
bd66a968c6 chore: finalize parser polish for latest markdown feedback
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
931f987ca2 fix nested markdown edge cases and webhook reply formatting regression
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
2997ef9cdd fix follow-up polish from automated review
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
0824f3d786 fix markdown nesting and mention/reply regressions from latest review
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Xujiayao
a4c776f542 fix: increase truncate limits for main messages in DiscordMessageParser 2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
075df79dab chore: finalize parser tweaks from review pass
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
f6a2386f3f fix parser edge cases for truncation, relative time, urls, and code tags
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Xujiayao
1e798f4156 fix: enhance code block formatting in DiscordMessageParser 2026-03-18 00:55:15 +08:00
Xujiayao
94fd14f738 fix: strip trailing whitespace from code block content in DiscordMessageParser 2026-03-18 00:55:15 +08:00
Xujiayao
d443834c64 fix: update color mappings for ANSI 2026-03-18 00:55:15 +08:00
Xujiayao
ccb545ca30 fix emoji handling in Discord reactions 2026-03-18 00:55:15 +08:00
Xujiayao
e50e44b2b3 fix: adjust formatting for no clients message in InfoCommand 2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
11ee241110 Address follow-up review nits and edge cases
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
d90d3ed888 Fix follow-up parsing and event context issues
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
ba28381afc Address code review: ANSI try-catch, Emoji import, split fix
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
62a1032899 Add config checks for reactions, edits, deletes, timestamps, polls, and ANSI code blocks
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Copilot
43c1222a86 feat: implement Discord-to-Minecraft chat enhancements
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Xujiayao
05e287b8b5 调整消息格式 2026-03-18 00:55:15 +08:00
Xujiayao
e96d26c3bb 更新依赖 2026-03-18 00:55:15 +08:00
Xujiayao
741185b407 format 2026-03-18 00:55:15 +08:00
Xujiayao
c6fd7a88fa Use JEmoji 2026-03-18 00:55:15 +08:00
Xujiayao
758d1634d2 format 2026-03-18 00:55:15 +08:00
Xujiayao
6a9036dbbc Fix 2026-03-18 00:55:15 +08:00
copilot-swe-agent[bot]
d16152ce2b fix: address code review feedback - safe truncation, doc fixes, style constant
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00