Hata

Latest version: v1.3.77

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

Scan your dependencies

Page 11 of 29

1.3.16

Improvements

- Add `EmojiCounts`.
- Add `ForumLayout`.
- Add `StickerCounts`.
- Add `Emoji.iter_roles`.
- Add `Emoji.is_premium`.
- Add `Integration.copy`.
- Add `GuildPremiumPerks`.
- Add `Guild.has_feature`.
- Add `InviteType.friend`.
- Add `ThreadProfile.copy`.
- Add `GuildDiscovery.copy`.
- Add `Guild.premium_perks`.
- Add `Guild.iter_features`.
- Add `ThreadProfile.__eq__`.
- Add `MessageActivity.copy`.
- Add `ThreadProfile.__new__`.
- Add `Role.manager_metadata`.
- Add `MessageType.stage_end`.
- Add `Integration.copy_with`.
- Add `RoleManagerMetadataBot`.
- Add `ThreadProfile.__hash__`.
- Add `GuildDiscovery.__new__`.
- Add `GuildDiscovery.to_data`.
- Add `RoleManagerMetadataBase`.
- Add `IntegrationAccount.copy`.
- Add `ThreadProfile.copy_with`.
- Add `MessageActivity.__new__`.
- Add `GuildFeature.onboarding`.
- Add `MessageType.stage_start`.
- Add `MessageActivity.__hash__`.
- Add `GuildDiscovery.copy_with`.
- Add `MessageActivity.copy_with`.
- Add `DiscoveryCategory.to_data`.
- Add `ERROR_CODES.card_declined`.
- Add `MessageType.stage_speaker`.
- Add `ConnectionType.crunchyroll`.
- Add `RoleManagerMetadataBooster`.
- Add `GuildFeature.home_override`.
- Add `RelationshipType.suggestion`.
- Add `IntegrationApplication.copy`.
- Add `Channel.default_forum_layout`.
- Add `GuildDiscovery.iter_keywords`.
- Add `RoleManagerType.subscription`.
- Add `IntegrationMetadataBase.copy`.
- Add `GuildFeature.burst_reactions`.
- Add `IntegrationAccount.copy_with`.
- Add `ERROR_CODES.user_quarantined`.
- Add `ERROR_CODES.invites_disabled`.
- Add `ERROR_CODES.max_premium_emoji`.
- Add `GuildDiscovery.sub_categories`.
- Add `RoleManagerType.metadata_type`.
- Add `RoleManagerMetadataIntegration`.
- Add `MessageType.stage_topic_change`.
- Add `RoleManagerMetadataSubscription`.
- Add `GuildFeature.channel_highlights`.
- Add `IntegrationApplication.cop_with`.
- Add `GuildFeature.creator_store_page`.
- Add `GuildFeature.raid_alerts_enabled`.
- Add `IntegrationMetadataBase.copy_with`.
- Add `ERROR_CODES.confirmation_required`.
- Add `MessageType.stage_request_to_speak`.
- Add `IntegrationType.guild_subscription`.
- Add `GuildFeature.text_in_stage_enabled`.
- Add `GuildFeature.onboarding_has_prompts`.
- Add `MessageType.application_subscription`.
- Add `GuildFeature.onboarding_ever_enabled`.
- Add `default_sort_order` audit log converter.
- Add `ERROR_CODES.feature_not_yet_rolled_out`.
- Add `ChannelMetadataBase.default_forum_layout`.
- Add `GuildFeature.channel_highlights_disabled`.
- Add `ERROR_CODES.auto_moderation_invalid_regex`.
- Add `GuildFeature.marketplaces_connection_roles`.
- Add `ERROR_CODES.vanity_url_requirements_not_met`.
- Add `GuildFeature.creator_monetizable_restricted`.
- Add `InviteTargetType.role_subscription_purchase`.
- Add `ERROR_CODES.subscription_renewal_in_progress`.
- Add `GuildFeature.creator_monetizable_temporarily`.
- Add `ChannelMetadataGuildForum.default_forum_layout`.
- Add `ERROR_CODES.invalid_activity_launch_afk_channel`.
- Add `ERROR_CODES.invalid_currency_for_payment_source`.
- Add `GuildFeature.creator_monetizable_premium_service`.
- `GuildDiscovery` now supports rich attribute exceptions.
- Add `ERROR_CODES.purchase_token_authorization_required`.
- `MessageActivity` now supports rich attribute exceptions.
- Move `PermissionOverwrite` under the `channel` directory.
- Add `ERROR_CODES.vanity_url_employee_only_guild_disabled`.
- Repurpose `ThreadProfile.__init__`. Rename to `.from_data`.
- `IntegrationAccount` now supports rich attribute exceptions.
- Repurpose `GuildDiscovery.__init__`. Rename to `.from_data`.
- Repurpose `MessageActivity.__init__`. Rename to `.from_data`.
- Add `ERROR_CODES.event_entity_type_different_from_the_entitys`.
- Add `ERROR_CODES.cannot_convert_emoji_between_premium_and_non_premium`.
- Add `ERROR_CODES.cannot_mix_subscription_and_non_subscription_roles_for_an_emoji`.

Bug fixes

- Fix an `AttributeError` in `Client._delete`.
- `thread_user_difference_update` was always returning `None`.
- `Sticker.precreate`'s `format` and `type` parameters were broken.
- Rename `DiscordHTTPClient.guild_discovery_add_sub_category` used bad http method.
- At cases when `thread_user_pop` did not need to pop thread profile it still popped the thread user.

Renames, Deprecation & Removals

- Remove `DISCOVERY_CATEGORIES`.
- Remove `GuildDiscovery.guild`.
- Deprecate unpacking `Guild.emoji_counts`.
- Rename `DiscoveryCategory.id` to `.value`.
- Deprecate unpacking `Guild.sticker_counts`.
- Deprecate `cr_p_permission_overwrite_object`.
- Deprecate `Client.guild_discovery_add_subcategory`.
- Rename `DiscoveryCategory.from_id` to `._from_value`.
- Deprecate `Client.guild_discovery_delete_subcategory`.
- Deprecate `DiscoveryCategory.id`. Please use `.value` instead.
- Rename `DiscoveryCategory.local_names` to `.name_localizations`.
- Rename `thread_user_update` to `.thread_user_difference_update`.
- Remove `AuditLogEvent.guild_home_remove_item` to `.home_remove_item`.
- Rename `AuditLogEvent.guild_home_feature_item` to `.home_feature_item`.
- Rename `Client.guild_discovery_add_subcategory` to `.guild_discovery_add_sub_category`.
- Rename `Client.guild_discovery_delete_subcategory` to `.guild_discovery_delete_sub_category`.
- Rename `DiscordHTTPClient.guild_discovery_add_subcategory` to `.guild_discovery_add_sub_category`.
- Rename `RATE_LIMIT_GROUPS.guild_discovery_add_subcategory` to `.guild_discovery_add_sub_category`.
- Rename `DiscordHTTPClient.guild_discovery_delete_subcategory` to `.guild_discovery_delete_sub_category`.
- Rename `RATE_LIMIT_GROUPS.guild_discovery_delete_subcategory` to `.guild_discovery_delete_sub_category`.

1.3.15

Improvements

- Add `Channel.threads`.
- Add `Channel.iter_threads`.
- Add `Channel._iter_delete`.
- Add `ApplicationRoleConnection`.
- Add `ChannelMetadataBase._iter_delete`.
- Add `ApplicationRoleConnectionMetadata`.
- Add `ApplicationRoleConnectionValueType`.
- Add `ApplicationRoleConnectionMetadataType`.
- Add `Client.user_application_role_connection_get`.
- Add `Client.user_application_role_connection_edit`.
- Add `Client.application_role_connection_metadata_get_all`.
- Add `Client.application_role_connection_metadata_edit_all`.
- Add `DiscordHTTPClient.user_application_role_connection_get`.
- Add `RATE_LIMIT_GROUPS.user_application_role_connection_get`.
- Add `DiscordHTTPClient.user_application_role_connection_edit`.
- Add `RATE_LIMIT_GROUPS.user_application_role_connection_edit`.
- Add `DiscordHTTPClient.application_role_connection_metadata_get_all`.
- Add `RATE_LIMIT_GROUPS.application_role_connection_metadata_get_all`.
- Add `DiscordHTTPClient.application_role_connection_metadata_edit_all`.
- Add `RATE_LIMIT_GROUPS.application_role_connection_metadata_edit_all`.

Bug fixes

- Webhook message author name length was limited to 32 (can be up to 80 long).
- When a forum channel was deleted discord is not dropping thread deletes. Now this is handled.

1.3.14

Improvements

- Repurpose `TeamMember.__init__`. Rename to `.from_data`.
- Add `TeamMember.to_data`.
- Add `TeamMember.__new__`.
- Add `TeamMemberPermission`.
- Add `TeamMember.copy`.
- Add `TeamMember.copy_with`.
- Add `TeamMember.iter_permissions`.
- `Team.__hash__` now supports partial instances.
- `Team.__eq__` now supports partial instances.
- Add `Team.iter_members`.
- Repurpose `Team.__new__`. Rename to `.from_data`.
- Add `Team.__new__`.
- Add `Team.copy`.
- Add `Team.copy_with`.
- Add `Team.precreate`.
- Add `Team.partial`.
- `TeamMember`-s are now sortable.
- Repurpose `ApplicationEntity.__init__`. Rename to `.from_data`.
- `ApplicationEntity.__eq__` now supports partial instances.
- Add `ApplicationEntity.partial`.
- Add `ApplicationEntity.__new__`.
- Add `ApplicationEntity.precreate`.
- `ApplicationEntity.__hash__` now supports partial instances.
- Add `ApplicationEntity.to_data`.
- Add `ApplicationEntity.copy`.
- Add `ApplicationEntity.copy_with`.
- `ApplicationInstallParameters` now supports rich attribute exceptions.
- Repurpose `ApplicationInstallParameters.__new__`. Rename to `.from_data`.
- Add `ApplicationInstallParameters.__new__`.
- Add `ApplicationInstallParameters.to_data`.
- Add `ApplicationInstallParameters.copy`.
- Add `ApplicationInstallParameters.copy_with`.
- `ApplicationExecutable` now supports rich attribute exceptions.
- Repurpose `ApplicationExecutable.__init__`. Rename to `.from_data`.
- Add `OperationSystem`.
- Add `ApplicationExecutable.to_data`.
- Add `ApplicationExecutable.__new__`.
- Add `ApplicationExecutable.copy`.
- Add `ApplicationExecutable.copy_with`.
- `ThirdPartySKU` now supports rich attribute exceptions.
- Repurpose `ThirdPartySKU.__init__`. Rename to `.from_data`.
- Add `ThirdPartySKU.to_data`.
- Add `ThirdPartySKU.__new__`.
- Add `ThirdPartySKU.copy`.
- Add `ThirdPartySKU.copy_with`.
- Repurpose `EULA.__new__`. Rename to `.from_data`.
- Add `EULA.__new__`.
- Add `EULA.to_data`.
- Add `EULA.__eq__` now supports partial instances.
- Add `EULA.precreate`.
- Add `EULA.copy`.
- Add `EULA.copy_with`.
- Add `EULA.partial`.
- `EULA.__hash__` now supports partial instances.
- Add `ApplicationFlag.embedded_iap`
- `ApplicationExecutable` is now sortable.
- Add `Team.to_data_user`.
- Add `ApplicationType`.
- `ThirdPartySKU` is now sortable.
- Add `Application.deeplink_url`.
- Add `Application.type`.
- Add Application.role_connections_verification_url`.
- Add `Application.from_data_ready`.
- Add `Application.from_data_own`.
- Add `Application.from_data_invite`.
- Add `Application.from_data_detectable`.
- Repurpose `Application.__new__`. Rename to `.from_data`.
- `Application.precreate` now accepts (way) more parameters.
- `Application.partial` now checks for it's client being more loose.
- Add `Application.__new__`.
- `Application.__hash__` now works on partial instances as well.
- `Application.__eq__` now works with partial instances as well.
- Add `Application.copy`.
- Add `Application.copy_with`.
- Add `Application.iter_aliases`.
- Add `Application.iter_developers`.
- Add `Application.iter_executables`.
- Add `Application.iter_publishers`.
- Add `Application.iter_rpc_origins`.
- Add `Application.iter_tags`.
- Add `Application.iter_third_party_skus`.
- Add `Application.to_data`.
- Add `Application.to_data_ready`.
- Add `Application.to_data_own`.
- Add `Application.to_data_invite`.
- Add `Application.to_data_detectable`.
- Add a way to deprecate flags.
- Add `UserBase.is_boosting`.

Bug fixes

- Fix infinite loop in ``ApplicationInstallParameters.__repr__``.
- `Application.max_participants` now correctly defaults to `0`.
- Lookup channel's `.guild_id` if missing from message data. (We can count this as an api bug.)

Renames, Deprecation & Removals

- Rename `ApplicationSubEntity` to `ApplicationEntity`.
- Rename `ApplicationExecutable.is_launcher` to `launcher`.
- Deprecate `ApplicationExecutable.is_launcher`.
- Remove `EmbeddedActivityConfiguration` (not used anymore).
- Deprecate `Application.embedded_activity_configuration`.
- Rename `Message.__new__` to `.from_data`.
- Deprecate `Message.__new__`.
- Rename `Guild.__new__` to `.from_data`.
- Deprecate `Guild.__new__`.
- Rename `Activity.__new__`'s `type_` parameter to `activity_type`.
- Deprecate `Activity.__new__`'s `type_` parameter.
- Rename `ActivityParty.__new__`'s `id_` parameter to `party_id`.
- Deprecate `ActivityParty.__new__`'s `id_` parameter.
- Deprecate `manage_channel` permission. Please use `manage_channels` instead.

Improvements

1.3.13

Improvements

- Add `AutoModerationActionMetadataBase.copy_with`.
- Add `AutoModerationActionMetadataBase.channel_id` (moved up).
- Add `AutoModerationActionMetadataBase.channel` (moved up).
- Add `AutoModerationActionMetadataBase.duration` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.regex_patterns`.
- Add `AutoModerationRuleTriggerMetadataBase.excluded_keywords` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.keyword_presets` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.mention_limit` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.keywords` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.iter_regex_patterns`.
- Add `AutoModerationRuleTriggerMetadataBase.iter_keywords` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.iter_keyword_presets` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.iter_excluded_keywords` (moved up).
- Add `AutoModerationRuleTriggerMetadataBase.copy_with`.
- Add `AutoModerationAction.channel_id`.
- Add `AutoModerationAction.duration`.
- Add `AutoModerationAction.channel`.
- Add `AutoModerationActionExecutionEvent.alert_system_message`.
- Add `AutoModerationActionExecutionEvent.rule`.
- Repurpose `AutoModerationActionExecutionEvent.__new__`. Rename to `.from_data`.
- Add `AutoModerationActionExecutionEvent.to_data`.
- Add `AutoModerationActionExecutionEvent.__new__`.
- Add `AutoModerationActionExecutionEvent.copy`.
- Add `AutoModerationActionExecutionEvent.copy_with`.
- Add `AutoModerationRule.precreate`.
- Add `AutoModerationRule.guild`.
- Add `AutoModerationRule._create_empty`.
- Add `GuildFeature.application_command_permissions_v2`.
- Add `Locale.indonesian`.
- Add `AutoModerationRuleTriggerMetadataKeyword.excluded_keywords.`
- `run_console_till_interruption` now picks up variables from main file too as intended.
- `interpreter` command now picks up variables correctly depending whether it was called from library or from outer
sources, including outer main files.
- Add `Attachment` example.

Bug fixes

- `Client.audit_log_get_chunk` did not populate the returned audit log :derp:.
- Fix `ValueError` when Discord says our rate limit resets at year 584556072.
- `Emoji.url` will not return `None` if the emoji's id is malformed. Instead will check for unicode value.

ext.plugin_loader
- `PluginError.messages` returned an incorrect value.

ext.patchouli
- Optional parameters were incorrectly displayed (was actually a bug caused by an older fix :derp:).

Renames, Deprecation & Removals

- Rename `Client.sticker_guild_create`'s `emoji_representation` parameter to `tags`.
- Rename `Client.sticker_guild_edit`'s `emoji_representation` parameter to `tags`.

1.3.12

Improvements

- Repurpose `GuildProfile.__init__`. Rename it to `.from_data`.
- Add `GuildProfile.__new__`.
- Add `GuildProfile.__eq__`.
- Add `GuildProfile.__hash__`.
- Add `GuildProfile.iter_role_ids`.
- Add `GuildProfile.iter_roles`.
- Add `GuildProfile.to_data`.
- Add `GuildProfile.copy`.
- Add `GuildProfile.copy_with`.
- Repurpose `InteractionOption.__init__`. Rename to `.from_data`.
- Add `InteractionOption.to_data`.
- Add `InteractionOption.__new__`.
- Add `InteractionOption.get_value_of_recursive`.
- Repurpose `Attachment.__init__`. Rename to `.from_data`.
- Add `Attachment.__new__`.
- Add `Attachment.__hash__`.
- Add `Attachment.__eq__`.
- Add `Attachment.copy`.
- Add `Attachment.copy_with`.
- Add `Attachment.precreate`.
- Repurpose `Role.__new__. Rename to `.from_data`.
- Add `Role.__new__`.
- Add `Role.to_data`.
- Add `Role.copy`.
- Add `Role.copy_with`.
- Support partial `Role.__eq__`.
- Support partial `Role.__hash__`.
- `Role.is_default` is now a method (from property).
- `Icon.__eq__` now supports `tuple`-s.
- `Icon.__eq__` now supports `none`-s.
- Add `Resolved`.
- Add `InteractionMetadataComponent.resolved`.
- Add `InteractionType.metadata_type`.
- Add `InteractionEvent._create_empty`.
- `InteractionEvent.__eq__` now supports partial instances.
- `InteractionEvent.__hash__` now supports partial instances.
- Add `InteractionEvent.to_data`.
- Add `InteractionEvent._create_empty`.
- Add `InteractionEvent.copy`.
- Add `InteractionEvent.copy_with`.
- Add `InteractionOption.iter_options`.
- Add `InteractionComponent.iter_components`.
- Add `InteractionResponseContext.__eq__`.
- Add `InteractionResponseContext.__hash__`.
- Add `InteractionMetadataBase.resolve_user`.
- Add `InteractionMetadataBase.resolve_channel`.
- Add `InteractionMetadataBase.resolve_attachment`.
- Add `InteractionMetadataBase.resolve_role`.
- Add `InteractionMetadataBase.resolve_message`.
- Add `InteractionMetadataBase.resolve_mentionable`.
- Add `InteractionMetadataBase.entities`.
- Add `InteractionMetadataBase.iter_values`.
- Add `InteractionMetadataBase.iter_entities`.
- Add `InteractionMetadataBase.iter_components`.
- Add `InteractionMetadataBase.iter_options`.
- Add `InteractionEvent.component_type`.
- Add `InteractionEvent.components`.
- Add `InteractionEvent.custom_id`.
- Add `InteractionEvent.application_command_id`.
- Add `InteractionEvent.application_command_name`.
- Add `InteractionEvent.options`.
- Add `InteractionEvent.resolved`.
- Add `InteractionEvent.target_id`.
- Add `InteractionEvent.values`.
- Add `InteractionEvent.target`.
- Add `InteractionEvent.iter_options`.
- Add `InteractionEvent.focused_option`.
- Add `InteractionEvent.get_non_focused_values`.
- Add `InteractionEvent.get_value_of`.
- Add `InteractionEvent.value`.
- Add `InteractionEvent.iter_values`.
- Add `InteractionEvent.iter_entities`.
- Add `InteractionEvent.entities`.
- Add `InteractionEvent.iter_components`.
- Add `InteractionEvent.iter_custom_ids_and_values`.
- Add `InteractionEvent.get_custom_id_value_relation`.
- Add `InteractionEvent.get_value_for`.
- Add `InteractionEvent.get_match_and_value`.
- Add `InteractionEvent.iter_matches_and_values`.
- Add `InteractionEvent.resolve_attachment`.
- Add `InteractionEvent.resolve_channel`.
- Add `InteractionEvent.resolve_message`.
- Add `InteractionEvent.resolve_role`.
- Add `InteractionEvent.resolve_user`.
- Add `InteractionEvent.resolve_mentionable`.
- Add `InteractionEvent.resolve_entity`.
- `Client.interaction_followup_message_create` now supports sending only components.
- `Client.interaction_response_message_create` now supports sending only components.
- Add `PremiumType.nitro_basic`.
- Add `UserFlag.active_developer`.
- Add `ERROR_CODES.invalid_request_origin`.
- Add `ApplicationFlag.active`.
- Add `ConnectionType.tiktok`.
- Add `ERROR_CODES.rate_limit_resource`.
- Add `Oauth2Scope.role_connections_write`.
- Add `ERROR_CODES.ineligible_for_subscription`.
- Add `ERROR_CODES.rate_limit_service_resource`.
- Add `DiscordException.retry_after`.
- Add `GuildFeature.developer_support_guild`.

ext.slash

- Add `StringSelect`. (Alternative name of `Select`).
- Add `UserSelect`.
- Add `ChannelSelect`.
- Add `RoleSelect`.
- Add `MentionableSelect`.
- Add `CommandBase.mention`.
- Add `CommandBase.mention_at`.
- Add `CommandBase.__format__`.
- Add `SlashCommandCategory.mention`.
- Add `SlashCommandCategory.mention_at`.
- Add `SlashCommandCategory.__format__`.
- Add `SlashCommandFunction.mention`.
- Add `SlashCommandFunction.mention_at`.
- Add `SlashCommandFunction.__format__`.

Renames, Deprecation & Removals

- Deprecate `InteractionComponent.options`. Use `.values` instead.
- Deprecate `cr_p_role_object`. Use `Role(..).to_data(...)` instead.
- Deprecate `InteractionComponent.type`. Use `.component_type` instead.
- Deprecate `FormSubmitInteraction.options`. Use `.components` instead.
- Rename `ApplicationCommandAutocompleteInteraction` to `InteractionMetadataApplicationCommandAutocomplete`.
- Rename `ApplicationCommandInteraction` to `InteractionMetadataApplicationCommand`.
- Rename `ForumSubmitInteraction` to `InteractionMetadataForumSubmit`.
- Rename `ComponentInteraction` to `InteractionMetadataMessageComponent`.
- Rename `InteractionFieldBase` to `InteractionMetadataBase`.

1.3.11

Improvements

- Add `Message.iter_components`.
- Add `Component.button_style`.
- Add `Component.text_input_style`.
- Add `Component.iter_components`.
- Add `Component.iter_options`.
- Add `Component.channel_types`.
- Add `InteractionForm.iter_components`.
- Add `create_button` to replace `ComponentButton`.
- Add `create_row` to replace `ComponentRow`.
- Add `create_string_select` to replace `ComponentSelect`.
- Add `create_text_input` to replace `ComponentTextInput`.
- Add `create_user_select`.
- Add `create_role_select`.
- Add `create_channel_select`.
- Add `create_mentionable_select`.
- Use `CauseGroup` at `DiscordHTTPClient.discord_request`.
- Add `HATA_LIBRARY_NAME` env variable.
- Add `HATA_LIBRARY_AGENT_APPENDIX` env variable.
- Add `HATA_LIBRARY_VERSION` env variable.
- `Client.message_create` now supports sending only components.

ext.plugin_loader
- Use `CauseGroup` for `PluginError`-s if applicable.
- New `PluginError`-s now store exception instead of traceback, so expose `filter_frames`.

Renames, Deprecation & Removals

- Rename `Guild.sticker_count` to `.sticker_counts` (it was actually a typo the whole time).
- Deprecate `Guild.sticker_count`.
- Deprecate `style` parameters of components.
- Deprecate `ComponentSelectOption`. Use `StringSelectOption` instead.
- Deprecate `ComponentBase`. Use `Component` instead. Remove all other component types.

Page 11 of 29

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.