Fix: replace fullwidth comma with halfwidth comma in discord_platform_adapter.py

This commit is contained in:
LIghtJUNction
2026-03-21 15:21:35 +08:00
parent 255a4c0d5b
commit b563518711

View File

@@ -232,7 +232,7 @@ class DiscordPlatformAdapter(Platform):
nickname=message.author.display_name,
)
message_chain = []
# 如果机器人被 @在 message_chain 开头添加 At 组件
# 如果机器人被 @,在 message_chain 开头添加 At 组件
if bot_was_mentioned:
message_chain.insert(
0, At(qq=str(self.client.user.id), name=self.client.user.name)