[docs] fix docstring of AppInfo
This commit is contained in:
parent
2e6c28bd60
commit
7bfb0f8133
@ -61,38 +61,40 @@ class AppInfo:
|
|||||||
A list of RPC origin URLs, if RPC is enabled.
|
A list of RPC origin URLs, if RPC is enabled.
|
||||||
summary: :class:`str`
|
summary: :class:`str`
|
||||||
If this application is a game sold on Discord,
|
If this application is a game sold on Discord,
|
||||||
this field will be the summary field for the store page of its primary SKU
|
this field will be the summary field for the store page of its primary SKU.
|
||||||
|
|
||||||
.. versionadded:: 1.3
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
verify_key: :class:`str`
|
verify_key: :class:`str`
|
||||||
The base64 encoded key for the GameSDK's GetTicket
|
The hex encoded key for verification in interactions and the
|
||||||
|
GameSDK's `GetTicket <https://discord.com/developers/docs/game-sdk/applications#getticket>`_.
|
||||||
|
|
||||||
.. versionadded:: 1.3
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
guild_id: Optional[:class:`int`]
|
guild_id: Optional[:class:`int`]
|
||||||
If this application is a game sold on Discord,
|
If this application is a game sold on Discord,
|
||||||
this field will be the guild to which it has been linked
|
this field will be the guild to which it has been linked to.
|
||||||
|
|
||||||
.. versionadded:: 1.3
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
primary_sku_id: Optional[:class:`int`]
|
primary_sku_id: Optional[:class:`int`]
|
||||||
If this application is a game sold on Discord,
|
If this application is a game sold on Discord,
|
||||||
this field will be the id of the "Game SKU" that is created, if exists
|
this field will be the id of the "Game SKU" that is created,
|
||||||
|
if it exists.
|
||||||
|
|
||||||
.. versionadded:: 1.3
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
slug: Optional[:class:`str`]
|
slug: Optional[:class:`str`]
|
||||||
If this application is a game sold on Discord,
|
If this application is a game sold on Discord,
|
||||||
this field will be the URL slug that links to the store page
|
this field will be the URL slug that links to the store page.
|
||||||
|
|
||||||
.. versionadded:: 1.3
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
terms_of_service_url: Optional[:class:`str`]
|
terms_of_service_url: Optional[:class:`str`]
|
||||||
The application's terms of service URL, if set.
|
The application's terms of service URL, if set.
|
||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
privacy_policy_url: Optional[:class:`str`]
|
privacy_policy_url: Optional[:class:`str`]
|
||||||
The application's privacy policy URL, if set.
|
The application's privacy policy URL, if set.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user