vi

Results 73 issues of vi
trafficstars

## 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,...

t: enhancement
t: api support
p: low

## 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 -...

t: bugfix

## 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...

t: enhancement
t: api support
s: needs review

## 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...

s: needs review
t: bugfix
3.0

## 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...

t: enhancement
t: api support

## 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...

t: enhancement
s: needs review
t: refactor/typing/lint
t: deprecation

## 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...

s: needs review
t: refactor/typing/lint

## 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...

t: enhancement
t: api support
s: needs review

## 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: ![image](https://user-images.githubusercontent.com/8530778/200681637-b03983ce-e6f4-4a3b-bef7-3f1c76febe22.png) ~~Depends on https://github.com/wpilibsuite/sphinxext-opengraph/pull/86 for now, but...

t: documentation
t: enhancement
p: low
s: needs review

## 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...

t: enhancement
t: api support
s: needs review