discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

`context` and `authorizing_integration_owners` missing on incoming interactions

Open plun1331 opened this issue 3 months ago • 1 comments

Description

context and authorizing_integration_owners are missing on incoming slash command interactions if the user has not authorized the application.

Note that this may not be isolated to slash commands, I have not tested other interactions

Steps to Reproduce

  • Create a slash command
  • Add the bot to a guild (but not your individual user account)
  • Run the command, keys are missing
  • Authorize the bot to your user account
  • Run the command again, keys are present

Expected Behavior

Keys should be sent regardless of where the application is installed

Current Behavior

Keys are missing when only installed to the guild

Screenshots/Videos

No response

Client and System Information

  • Python v3.12.1-final
  • py-cord dev version 6cdb3e3
  • aiohttp v3.9.3
  • system info: Linux 5.4.0-166-generic # 183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023

plun1331 avatar Mar 24 '24 19:03 plun1331