Skip to content

fix: NameError in interaction edge cases#2402

Merged
Lulalaby merged 3 commits intoPycord-Development:masterfrom
NeloBlivion:import-fix
Mar 21, 2024
Merged

fix: NameError in interaction edge cases#2402
Lulalaby merged 3 commits intoPycord-Development:masterfrom
NeloBlivion:import-fix

Conversation

@NeloBlivion
Copy link
Member

@NeloBlivion NeloBlivion commented Mar 21, 2024

Summary

Moves a guild import out of typechecking to avoid issues when guild isn't already set on Interactions
image

Information

  • 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, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@Lulalaby Lulalaby merged commit 7a6fcda into Pycord-Development:master Mar 21, 2024
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