-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
feat: Add helper methods to determine interactions integrations #2659
feat: Add helper methods to determine interactions integrations #2659
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good addition! 💕🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor convention and grammar
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: DA344 <[email protected]>
Head branch was pushed to by a user without write access
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: DA344 <[email protected]>
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: DA344 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite like the naming. Interactions aren't exactly integrations.
Could we change it from is_x_integration
to is_x_authorized
?
Or if you have a better name that we could go with.
Yeah, but when invoking an application command, you are using an integration, which can either be guild or user installed.
I think the current naming is nice, but if it is really neccesary I can change it to |
I feel like both namings make sense, maybe |
…into feat/interaction-integrations-methods
…into feat/interaction-integrations-methods
* 👽 Update base max filesize to `10` Mb * 📝 CHANGELOG.md
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: DA344 <[email protected]>
…ycord-Development#2676) Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.13.0...v1.14.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: plun1331 <[email protected]>
Signed-off-by: plun1331 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason changelog is en-US.
Co-authored-by: JustaSqu1d <[email protected]> Signed-off-by: DA344 <[email protected]>
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we really should stop doing american / british english
Summary
Adds
Interaction.is_guild_integration
andInteraction.is_user_integration
to easily check whether an interaction has been invoked by a guild or user integration.Also adds this to
ApplicationContext
.Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.