diff --git a/discord/appinfo.py b/discord/appinfo.py index de1f7a73f..76f525f29 100644 --- a/discord/appinfo.py +++ b/discord/appinfo.py @@ -72,11 +72,6 @@ class AppInfo: grant flow to join. rpc_origins: Optional[List[:class:`str`]] A list of RPC origin URLs, if RPC is enabled. - summary: :class:`str` - If this application is a game sold on Discord, - this field will be the summary field for the store page of its primary SKU. - - .. versionadded:: 1.3 verify_key: :class:`str` The hex encoded key for verification in interactions and the @@ -124,7 +119,6 @@ class AppInfo: 'bot_require_code_grant', 'owner', '_icon', - 'summary', 'verify_key', 'team', 'guild_id', @@ -151,7 +145,6 @@ class AppInfo: team: Optional[TeamPayload] = data.get('team') self.team: Optional[Team] = Team(state, team) if team else None - self.summary: str = data['summary'] self.verify_key: str = data['verify_key'] self.guild_id: Optional[int] = utils._get_as_snowflake(data, 'guild_id') @@ -210,9 +203,6 @@ class PartialAppInfo: The application description. rpc_origins: Optional[List[:class:`str`]] A list of RPC origin URLs, if RPC is enabled. - summary: :class:`str` - If this application is a game sold on Discord, - this field will be the summary field for the store page of its primary SKU. verify_key: :class:`str` The hex encoded key for verification in interactions and the GameSDK's `GetTicket `_. @@ -222,7 +212,7 @@ class PartialAppInfo: The application's privacy policy URL, if set. """ - __slots__ = ('_state', 'id', 'name', 'description', 'rpc_origins', 'summary', 'verify_key', 'terms_of_service_url', 'privacy_policy_url', '_icon') + __slots__ = ('_state', 'id', 'name', 'description', 'rpc_origins', 'verify_key', 'terms_of_service_url', 'privacy_policy_url', '_icon') def __init__(self, *, state: ConnectionState, data: PartialAppInfoPayload): self._state: ConnectionState = state @@ -231,7 +221,6 @@ class PartialAppInfo: self._icon: Optional[str] = data.get('icon') self.description: str = data['description'] self.rpc_origins: Optional[List[str]] = data.get('rpc_origins') - self.summary: str = data['summary'] self.verify_key: str = data['verify_key'] self.terms_of_service_url: Optional[str] = data.get('terms_of_service_url') self.privacy_policy_url: Optional[str] = data.get('privacy_policy_url')