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

Implement interaction.data.guild_id for command interactions #1930

Merged

Conversation

tandemdude
Copy link
Contributor

Summary

The BaseCommandInteraction was previously missing a field for interaction.data.guild_id as documented here. This PR adds the BaseCommandInteraction.registered_guild_id field and updates unit tests accordingly.

Checklist

  • I have run nox and all the pipelines have passed.
  • I have made unittests according to the code I have added/modified/deleted.

Related issues

davfsa
davfsa previously approved these changes May 28, 2024
@davfsa davfsa merged commit f73534c into hikari-py:master May 28, 2024
27 checks passed
@tandemdude tandemdude deleted the feat/app-command-registered-guild-id branch May 28, 2024 14:13
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.

2 participants