Skip to content

context and authorizing_integration_owners missing on incoming interactions #6752

Description

@plun1331

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions