Skip to content

Conversation

Soheab
Copy link
Contributor

@Soheab Soheab commented Jul 18, 2024

Summary

Docs PR: discord/discord-api-docs#7010

Bikeshedding discussion: https://canary.discord.com/channels/336642139381301249/1263586512998764604

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • 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, ...)

Copy link
Owner

@Rapptz Rapptz left a comment

Choose a reason for hiding this comment

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

Looks okay.

I think this is still technically a breaking change on the Emoji.guild front because it'll do get_guild(0) which will return None. I suppose it can be okay to change the typing from Guild to Optional[Guild] as it is in the type hints in this extraordinary case.

Copy link
Owner

@Rapptz Rapptz left a comment

Choose a reason for hiding this comment

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

LGTM.

@Rapptz Rapptz merged commit 463b4bd into Rapptz:master Aug 28, 2024
8 checks passed
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.

7 participants