立即开始
Discord Bot Tools

Discordbot Create Message

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

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

服务提供商说明

Sends a message to a Discord channel. Supports text content, embeds, stickers, components, and replies. Requires SEND_MESSAGES permission and at least one of content, embeds, sticker_ids, or components.

价格与限制

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

输入

  • ttsboolean
    Whether this is a text-to-speech message.
  • flagsinteger
    Message flags (e.g., 4 for SUPPRESS_EMBEDS, 64 for EPHEMERAL).
  • embedsarray
    Up to 10 embed objects. Each embed can contain title, description, url, timestamp, color, footer, image, thumbnail, video, provider, author, and fields.
  • contentstring
    Message text content (max 2000 characters). Required if embeds, sticker_ids, and components are all empty.
  • channel_idstring
    必填
    ID of the channel to send the message to.
  • componentsarray
    Up to 5 action rows of interactive components (buttons, select menus).
  • sticker_idsarray
    Up to 3 sticker IDs accessible to the bot.
  • allowed_mentionsobject
    Controls which mentions in content trigger notifications. Keys: parse (list of 'roles', 'users', 'everyone'), roles (list of role IDs), users (list of user IDs), replied_user (bool).
  • message_referenceobject
    Reference for replying to a message. Requires message_id. Optional: channel_id, guild_id, fail_if_not_exists.

可观察输出

  • 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

使用此操作的技能

相关使用场景

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

官方来源

服务提供商来源