Discord-typings

Latest version: v0.9.0

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

Scan your dependencies

Page 1 of 2

0.9.0

Changes

This releases continues updating the library after several upstream changes with Discord's API Docs.

Features

* Add support for new Polls, by mifuyutsuki in 42
* Add new invite types
* Change avatar decoration from string to data
* Add message call data
* Update automod with new "member profile" rule
* Add monetization SKUs previously missing
* Add typing for bulk ban data

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.