Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

context and authorizing_integration_owners missing on incoming interactions #6752

Closed
plun1331 opened this issue Mar 24, 2024 · 2 comments
Closed
Labels

Comments

@plun1331
Copy link

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 plun1331 added the bug label Mar 24, 2024
freya022 added a commit to freya022/JDA that referenced this issue Mar 26, 2024
freya022 added a commit to freya022/JDA that referenced this issue Apr 11, 2024
@TheFallenSpirit
Copy link

I am also experiencing this issue, however it appears that I do not receive authorizing_integration_owners when a command only has the 0 (guild) integration type. If this command is run in a guild, the authorizing_integration_owners field is undefined. Using Oceanic v1.10.2.

@yonilerner
Copy link
Member

Should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants