Driftwatch

APIs / Discord

Discord API changes

Breaking changes, deprecations and new fields in the Discord API, as they ship.

Discord · ed0140896 additive
6 new response fields
  • ApplicationResponse.conjure_project_id
  • InviteApplicationResponse.conjure_project_id
  • PrivateApplicationResponse.conjure_project_id
  • SearchMessageResponse.author_restriction_count
  • SearchMessageResponse.forward_source_author_id
  • SearchMessageResponse.source_author_restriction_count
Discord · c0e6a86a5 additive
5 new response fields
  • BasicMessageResponse.actor
  • MessageResponse.referenced_message.actor
  • MessageResponse.actor
  • SearchMessageResponse.actor
  • SearchMessageResponse.referenced_message.actor
Discord · bb8eb1ec3 additive
2 new response fields
  • InviteChannelResponse.nsfw
  • FriendInviteResponse.channel.nsfw
Discord · d415390f1 breaking
  • Breakingdirection flip: their tools call this safe

    is_remix is no longer accepted

    Usually ignored rather than rejected, so the call succeeds and does something subtly different.

    MessageAttachmentRequest.is_remix · reachable from 8 operations
    Code that breaks
    await client.post("/…", {
      // is_remix is now ignored, not rejected
      is_remix: value,
    });
Discord · 83a2e6c41 breaking
  • Breaking

    Response field liveliness removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    GuildInviteResponse.liveliness · reachable from 5 operations
    Code that breaks
    // response.liveliness is now undefined
    const liveliness = response.liveliness;
Discord · e54b849b3 additive
3 new response fields
  • ApplicationResponse.vibegrations_project_id
  • InviteApplicationResponse.vibegrations_project_id
  • PrivateApplicationResponse.vibegrations_project_id
Discord · 8579b8f14 additive
4 new response fields
  • BasicApplicationResponseWithBot.flags
  • BasicApplicationResponseWithBot.flags_new
  • IntegrationApplicationResponse.flags
  • IntegrationApplicationResponse.flags_new
Discord · e2bb94173 additive
  • Additive

    Response field file_types added

    No action needed unless you validate responses against a closed schema.

    ApplicationCommandAttachmentOptionResponse.file_types · reachable from 11 operations
2 new request properties
  • ApplicationCommandAttachmentOption.file_types
  • FileUploadComponentForModalRequest.file_types
Discord · 74fda0fa9 additive
7 new response fields
  • BasicMessageResponse.lobby_member
  • MessageResponse.referenced_message.lobby_member
  • MessageResponse.lobby_member
  • LobbyMemberResponse.additional_name
  • LobbyMessageResponse.lobby_member
  • SearchMessageResponse.referenced_message.lobby_member
  • SearchMessageResponse.lobby_member
2 new request properties
  • BulkLobbyMemberRequest.additional_name
  • additional_name
Discord · c9423c8b1 additive