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

Fix for application-based bots without the bot scope #1568

Merged
merged 3 commits into from
Aug 16, 2022

Conversation

NeloBlivion
Copy link
Member

Quick patch to how guild is received from a purely HTTP interaction

Summary

A necessary fix to how an interaction's guild and user are assigned due to how interaction data is processed on a client without the bot scope. This patch allows avoiding the worst-case scenario, but further investigation into using this lib with HTTP clients is recommended.

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting, examples, ...).

Quick patch to how guild is received from a purely HTTP interaction
Copy link
Contributor

@EmmmaTech EmmmaTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title and description of this PR is misleading and not descriptive.

discord/interactions.py Show resolved Hide resolved
discord/interactions.py Outdated Show resolved Hide resolved
discord/interactions.py Outdated Show resolved Hide resolved
discord/interactions.py Outdated Show resolved Hide resolved
NeloBlivion and others added 2 commits August 16, 2022 20:18
Co-authored-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
Co-authored-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
@BobDotCom BobDotCom merged commit 2c3f794 into Pycord-Development:master Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants