Discord-typings

Latest version: v0.8.0

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

Scan your dependencies

Page 1 of 2

0.8.0

Changes

This release primarily updates the library to be up-to-date with the documentation. However, below are notable changes:

Features

* Add support for Discord's Monetization

Fixes

* Add allow_list to KeywordPresetAutoModerationTriggerMetadataData by plun1331 (38)

0.7.0

This release is meant to be the last release before the official `v1.0` release

Changes

Features

* Library has been fully refactored for new structure: see https://github.com/Bluenix2/discord-typings/pull/37
* Update typings to latest documentation

0.6.0

Changes

This is a rough summary from the past several months - it is best to refer to the commit history for a full changelog.

Features

- Add new fields in various parts of the library (maintenance)
- Add typings for select menu variants
- Support attachments in interactions

Fixes

- Rename `ThreadMetadata` to add correct suffix: `ThreadMetadataData`
- Expose previously missing typings

0.5.1

Changes

Fixes

- Add `Locales` and `AuditLogEvents` to `__all__`
- Fix ambiguous uses of `str` to `Locales`

0.5.0

Changes

Breaking Changes

- Remove leading `$` in IdentifyConnectionProperties following API change
- Rework gateway typings and provide per-event TypedDicts

Features

- Add `GetGatewayData` for `/gateway` endpoint
- Add generalized `GatewayCommand` union
- Implement application command localization
- Add typings for auto moderation
- Add literals for API enums
- Add new `app_permissions` field introduced to interactions
- Create new `PartialGuildData` for "Get Current User Guilds"
- Add typing for HTTP error responses
- Support new length-restrictions on options
- Add new attachment command option data

Fixes

- Remove `t` and `s` fields off of gateway commands
- Update `RequestGuildMembersCommand` to accept a single snowflake
- Fix inaccuracies in various field typings
- Fix incorrect naming of "Update Voice State" gateway command
- Add `TextInputComponentData` to `ActionRowData` `components` union

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.