立即开始
Discord Bot Tools

Discordbot Create Interaction Response

通过 Aident Loadout 使用 Discord Bot Tools 的 Discordbot Create Interaction Response。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Sends a response to a Discord interaction (e.g., slash command, component). Ensure response type is context-appropriate and initial reply is within 3 seconds.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • dataobject
    Data payload for an interaction callback response.
  • typeinteger
    必填
    Type of response: 1 (Pong), 4 (ChannelMessageWithSource), 5 (DeferredChannelMessageWithSource), 6 (DeferredMessageUpdate), 7 (UpdateMessage), 8 (AutocompleteResult), 9 (Modal).
  • interaction_idstring
    必填
    ID of the originating user interaction (e.g., slash command, button).
  • interaction_tokenstring
    必填
    Temporary token for responding to the interaction, valid for 15 minutes.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源