Commit graph

1359 commits

Author SHA1 Message Date
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
copilot-swe-agent[bot]
1329d5fdd9 feat: implement Discord-to-Minecraft chat forwarding
Add TextSegment, DiscordEventPacket, DiscordMessageParser,
EmojiShortCodeMapper, and wire up the full pipeline from
Discord message reception through network transmission to
Minecraft rendering with rich text, mentions, replies,
attachments, embeds, stickers, components, and markdown.

Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-18 00:55:15 +08:00
Xujiayao
acdc7b67c9 [skip ci] Fix GitHub 2026-03-15 00:13:11 +08:00
Xujiayao
8f38cf8067 Disallow duplicate name connection for DMCC clients 2026-03-13 21:23:02 +08:00
Xujiayao
1825baade5 Refactor bot presence update to use scheduled executor for periodic updates 2026-03-13 21:02:59 +08:00
Xujiayao
d2a59cc56e Implement bot presence (status & activity) feature 2026-03-13 20:44:20 +08:00
Xujiayao
fc6612f8ac Fix info message when there are more than one client 2026-03-13 20:43:46 +08:00
Xujiayao
6433349651 [skip ci] 没有DMCC客户端在线时 Do Not Disturb 2026-03-13 18:43:12 +08:00
Xujiayao
b8540ca056 Update TODO comments and README for clarity on Bot status management 2026-03-13 18:41:20 +08:00
Xujiayao
b58e4dde29 JEmoji 2026-03-13 18:39:34 +08:00
Xujiayao
21e67a33ea [skip ci] Bot不支持Rich Presence 2026-03-13 18:32:43 +08:00
Xujiayao
ac182e872c [skip ci] 更多配置文件改动 2026-03-13 18:04:19 +08:00