discord / discord-api-docs

Official Discord API Documentation
https://discord.com/developers/docs/intro
Other
5.98k stars 1.27k forks source link

Deferrable message flags does not include `IS_VOICE_MESSAGE` #7158

Closed Snazzah closed 1 month ago

Snazzah commented 2 months ago

Description

Bots can send voice messages and these can also be sent through interactions, however the IS_VOICE_MESSAGE flag cannot be deferred for interactions it seems.

Steps to Reproduce

  1. Defer with flags set to 1 << 13 (8192)
  2. Send (through Edit Original Interaction Response) a valid voice message.

Expected Behavior

The message would display as a voice message with the valid flags.

Current Behavior

The IS_VOICE_MESSAGE is ignored from the message flags.

Screenshots/Videos

No response

Client and System Information

canary 328464 (1dfaddb) Host 1.0.450 x64 (52654) Build Override: N/A Windows 11 64-bit (10.0.22631)

afgiel commented 1 month ago

a fix for this has been merged