DiscordApplication

Inherits: DiscordEntity < Reference < Object

Description

Represents an application on Discord.

Properties

type name
String name
String icon_hash
String description
PoolStringArray rpc_origins
bool is_bot_public
bool bot_require_code_grant
String tos_url
String privacy_policy_url
int owner_id
User owner
String summary
String verify_key
DiscordTeam team
int guild_id
int primary_sku_id
String slug
String cover_image_hash
BitFlag flags

Methods

return type signature
User get_owner ( )

Constants

  • Dictionary Flags

    • GATEWAY_PRESENCE = 4096

    • GATEWAY_PRESENCE_LIMITED = 8192

    • GATEWAY_GUILD_MEMBERS = 16384

    • GATEWAY_GUILD_MEMBERS_LIMITED = 32768

    • VERIFICATION_PENDING_GUILD_LIMIT = 65536

    • EMBEDDED = 131072

    • GATEWAY_MESSAGE_CONTENT = 262144

    • GATEWAY_MESSAGE_CONTENT_LIMITED = 524288

    Application public flags.

Property Descriptions

  • String name

    The name of the application.


  • String icon_hash

    The icon hash of the application.


  • String description

    The description of the application.


  • PoolStringArray rpc_origins

    Array of rpc origin urls, if rpc is enabled.


  • bool is_bot_public

    When false only application owner can join the application's bot to guilds.


  • bool bot_require_code_grant

    When true the application's bot will only join upon completion of the full oauth2 code grant flow.


  • String tos_url

    The url of the application's terms of service.


  • String privacy_policy_url

    The url of the application's privacy policy.


  • int owner_id

    User owner id of the application.


  • User owner

    method
    Getter get_owner()

    User object containing info on the owner of the application. Can be partial.


  • deprecated String summary

    There is currently no description for this property.


  • String verify_key

    Hex encoded verification key.


  • DiscordTeam team

    The team this application belongs to, if it is owned by a team.


  • int guild_id

    If this application is a game sold on Discord, this field will be the guild to which it has been linked.


  • int primary_sku_id

    If this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists.


  • String slug

    If this application is a game sold on Discord, this field will be the URL slug that links to the store page.


  • String cover_image_hash

    The application's default rich presence invite cover image hash.


  • BitFlag flags

    The application's public flags.

Method Descriptions

  • User get_owner ( )

    owner getter.