立即开始
Discord Bot Tools

Discordbot Create Channel Invite

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

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

服务提供商说明

Creates a new invite link for a Discord channel. Requires CREATE_INSTANT_INVITE permission.

价格与限制

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

输入

  • uniqueboolean
    If true, do not reuse a similar invite. Useful for creating many unique one-time invites.
  • max_ageinteger
    Duration of invite in seconds before expiry, or 0 for never. Must be 0-604800. Defaults to 86400 (24 hours).
  • max_usesinteger
    Maximum number of times this invite can be used, or 0 for unlimited. Defaults to 0.
  • temporaryboolean
    Whether this invite only grants temporary membership. Defaults to false.
  • channel_idstring
    必填
    The ID of the channel to create an invite for.
  • target_typeinteger
    The type of target for this voice channel invite. 1 for Stream, 2 for Embedded Application.
  • target_user_idstring
    The ID of the user whose stream to display. Required if target_type is 1.
  • target_application_idstring
    The ID of the embedded application to open. Required if target_type is 2.

可观察输出

  • 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

使用此操作的技能

相关使用场景

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

官方来源

服务提供商来源