diff --git a/discord/application.py b/discord/application.py index f0e21195f..7686a3b7b 100644 --- a/discord/application.py +++ b/discord/application.py @@ -1726,8 +1726,12 @@ class PartialApplication(Hashable): The application name. description: :class:`str` The application description. - rpc_origins: List[:class:`str`] + rpc_origins: Optional[List[:class:`str`]] A list of RPC origin URLs, if RPC is enabled. + + .. versionchanged:: 2.1 + + The type of this attribute has changed to Optional[List[:class:`str`]]. verify_key: :class:`str` The hex encoded key for verification in interactions and the GameSDK's :ddocs:`GetTicket bool: + """:class:`bool`: Whether the application has the ability to access the client RPC server. + + .. versionadded:: 2.1 + """ + return self.rpc_origins is not None + async def assets(self) -> List[ApplicationAsset]: """|coro|