diff --git a/en/usage/platforms/discord.mdx b/en/usage/platforms/discord.mdx index f0ca38a08..00a1d5fea 100644 --- a/en/usage/platforms/discord.mdx +++ b/en/usage/platforms/discord.mdx @@ -51,7 +51,7 @@ For message events, `chat_id` is the channel ID and `group.id` is the server ID. For member join/leave events, there is no originating channel. Replies use the server's configured **System Messages Channel**. Configure it in Discord's server settings and grant the bot View Channels and Send Messages there; without a system channel, the reply fails explicitly. The member-leave callback does not distinguish voluntary departure from a kick, so do not use `is_kicked` as an authoritative moderation signal. -![Real attachment round trip: a red/blue image and a text file go in; a green PNG and a text file containing the calculated result come back.](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg) +![Real Discord delivery: the plugin returns the uploaded image and text file, followed by a successful Pipeline DM reply.](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg) ## Troubleshooting diff --git a/images/zh/deploy/bots/discord/attachment-roundtrip.jpg b/images/zh/deploy/bots/discord/attachment-roundtrip.jpg index 71ba35735..6378cbcd4 100644 Binary files a/images/zh/deploy/bots/discord/attachment-roundtrip.jpg and b/images/zh/deploy/bots/discord/attachment-roundtrip.jpg differ diff --git a/ja/usage/platforms/discord.mdx b/ja/usage/platforms/discord.mdx index 02570f5c1..c1fe2a83a 100644 --- a/ja/usage/platforms/discord.mdx +++ b/ja/usage/platforms/discord.mdx @@ -51,7 +51,7 @@ Discord には一通の文字数制限があるため、長いストリーミン メンバーの参加・退出イベントには送信元チャンネルがありません。返信にはサーバーで設定された **システムメッセージのチャンネル** を使用します。Discord のサーバー設定で指定し、Bot にチャンネルの閲覧とメッセージ送信を許可してください。未設定の場合、返信は明示的に失敗します。退出コールバックでは自主退出とキックを区別できないため、`is_kicked` を確実な管理判断に使用しないでください。 -![実際の添付ファイル往復例:赤と青の画像とテキストを送信し、緑の PNG と計算結果のテキストファイルを受信します。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg) +![Discord への実際の配信:プラグインが画像とテキストファイルを返し、その後 Pipeline の DM 返信も成功しています。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg) ## トラブルシューティング diff --git a/zh/usage/platforms/discord.mdx b/zh/usage/platforms/discord.mdx index a83cba69f..1cd074159 100644 --- a/zh/usage/platforms/discord.mdx +++ b/zh/usage/platforms/discord.mdx @@ -51,7 +51,7 @@ Discord 单条消息有长度限制,长流式输出需要分段送达。检查 成员加入/离开事件没有来源频道,回复会发送到服务器配置的 **系统消息频道**。请在 Discord 服务器设置中配置该频道,并授予机器人查看频道、发送消息权限;未配置系统消息频道时,回复会明确失败。成员离开回调无法区分主动退群和被踢,不要将 `is_kicked` 作为可靠的管理判断依据。 -![实际附件往返示例:红蓝图片与文本作为输入,回复包含绿色 PNG 和计算结果文本附件。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg) +![Discord 实际投递:插件原样回传上传的图片和文本文件,随后 Pipeline 私聊回复成功。](/images/zh/deploy/bots/discord/attachment-roundtrip.jpg) ## 排查问题