Skip to content

discord-typings v0.5.0

Compare
Choose a tag to compare
@Bluenix2 Bluenix2 released this 02 Jul 23:40
137392f

Changes

Breaking Changes

  • Remove leading $ in IdentifyConnectionProperties following API change
  • Rework gateway typings and provide per-event TypedDicts

Features

  • Add GetGatewayData for /gateway endpoint
  • Add generalized GatewayCommand union
  • Implement application command localization
  • Add typings for auto moderation
  • Add literals for API enums
  • Add new app_permissions field introduced to interactions
  • Create new PartialGuildData for "Get Current User Guilds"
  • Add typing for HTTP error responses
  • Support new length-restrictions on options
  • Add new attachment command option data

Fixes

  • Remove t and s fields off of gateway commands
  • Update RequestGuildMembersCommand to accept a single snowflake
  • Fix inaccuracies in various field typings
  • Fix incorrect naming of "Update Voice State" gateway command
  • Add TextInputComponentData to ActionRowData components union