Discord-typings

Latest version: v0.9.0

Safety actively analyzes 715081 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.4.0

Changes

Features

- Expose general `InteractionData` subtypes
- Add the last missing modal payloads, for complete modal support

Fixes

- Add additional `Data` suffix to `ResolvedInteractionData`
- Add `SelectMenuOptionData` to `__all__`
- Fix typing inaccuracies in resolved interaction data
- Fix application command options not being a list
- Add `SubcommandOptionData` to `ApplicationCommandOptionData` union

0.3.1

This is a patch release for an autocomplete-typo with `StickerItemData`.

Changes

Fixes

- Fix `StickerItemData` superclass being `TypedDict` instead of `StickerItemBase`

0.3.0

Changes

Features

- Change `Snowflake` to be a string and integer union
- Add the `final` decorator to all payloads
- Add context-specific (in a guild, or not) message variants

Fixes

- Remove error-causing comments
- Change `IntegrationAccountData['id']` to `str`
- Fix `ThreadChannelData['member']` typed as a guild member rather than a thread member
- Add `HeartbeatACKData` to `__all__`
- Fix message `mentions` typed as always having a `member` field
- Typo in `GuildScheduledEventUserData`

0.2.2

This is the second release of discord-typings which primarily brings **full support for interactions** 🎉

There were issues with v0.2.0 and v0.2.1 that have been fixed with v0.2.2, see [Extra Fixes](extra-fixes).

Changes

Features

- Support all interactions payloads

Fixes

- Add missing `TypedDict`s to their respective `__all__`

Extra fixes

- Move all imports under `if TYPE_CHECKING`

0.1.0

The start for all typings were added this release, there's no benefit to pin-point all individual typings. Individual changes will be listed in upcoming updates though as they are made.

Changes

Features

- Add all resource and gateway typings

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.