vi
vi
## Summary Previously, `message.interaction.user` was just a `User`; the `d["interaction"]["member"]` data present in `MESSAGE_CREATE`/`_EDIT` is now used to turn this into a `User | Member` instead. Fairly old apidocs change,...
## Summary see [this thread](https://canary.discord.com/channels/808030843078836254/1209800956741681184) ``` WSMessage(type=, data=WebSocketError(, 'Received fragmented control frame'), extra=None) ``` This isn't reproducible[^1], but apparently happened at least once. Blame cloudflare, I guess(?). ## Checklist -...
## Summary Implements https://github.com/discord/discord-api-docs/commit/88a761816b26d6891f8a276683bf57a4133aa233, deserializing the `channel` field from the interaction payload and no longer using the `channel_id` field. This has no effect for channels which are already cached, but...
## Summary Discord sends some fields in `GUILD_CREATE`s that are otherwise gated by intents, previously resulting in the library caching (and never updating) `emojis`, `stickers`, and `scheduled_events` even with the...
## Summary Adds support for [invite types](https://github.com/discord/discord-api-docs/pull/6568/files#diff-d0788dd36117dedc1ffcb870f2307e02aedf841884f285fafa53ba9cd0637898R25). This also resolves an old `TODO` regarding null channels in invites, since friend invites do not link to a specific resource. I don't...
## Summary This PR refactors `Bot.load_extensions`, improving several aspects and hopefully making common patterns easier to use. Module discovery now works similar to `pkgutil.walk_packages`. Initially I removed `utils.search_directory` entirely, but...
## Summary see title - pretty straightforward. The end goal is getting `--verifytypes` to pass on the entire project, but that still needs some further work. Also included are a...
## Summary https://github.com/discord/discord-api-docs/commit/515931a022c672837caad092799be8543d9e966b This implements the new `default_values` field for auto-populated (i.e. non-string) select menus. The PR is pretty much finished, but it could use some more testing. Note that...
## Summary Adds [sphinxext-opengraph](https://github.com/wpilibsuite/sphinxext-opengraph) to generate Open Graph metadata on all docs pages. As an example, the resulting Discord embed looks like this:  ~~Depends on https://github.com/wpilibsuite/sphinxext-opengraph/pull/86 for now, but...
## Summary https://github.com/discord/discord-api-docs/pull/6040 See also #995, which isn't required but fixes the audit log issue closely related to this. ## Checklist - [x] If code changes were made, then they...