Packages

c

ackcord.data

Application

case class Application(id: ApplicationId, name: String, icon: Option[String], description: String, rpcOrigins: Option[Seq[String]], botPublic: Boolean, botRequireCodeGrant: Boolean, termsOfServiceUrl: Option[String], privacyPolicyUrl: Option[String], owner: Option[PartialUser], summary: String, verifyKey: String, team: Option[Team], guildId: Option[GuildId], primarySkuId: Option[RawSnowflake], slug: Option[String], coverImage: Option[String], flags: Option[ApplicationFlags]) extends Product with Serializable

id

Id of the application.

name

Name of the application.

icon

Icon hash for the application.

description

Description of the application.

rpcOrigins

A sequence of RPC origin urls, if RPC is enabled.

botPublic

If other users can add this bot to guilds.

botRequireCodeGrant

If the bot requires the full OAuth2 code grant flow to join a guild.

termsOfServiceUrl

URL for the application's ToS

privacyPolicyUrl

URL for the application's privacy policy

owner

The owner of the application

summary

If this application is a game sold on Discord, then this is a short summary

verifyKey

Hex encoded hey for verification in interactions and the GameSDK's GetTicket

team

The team the application belongs to, if it belongs to one

guildId

If this application is a game sold on Discord, the guild id it has been linked to

primarySkuId

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

slug

If this application is a game sold on Discord, an URL slug that links to the store page

coverImage

This application's default rich presence invite cover image hash

flags

This application's public flags

Source
application.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Application
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Application(id: ApplicationId, name: String, icon: Option[String], description: String, rpcOrigins: Option[Seq[String]], botPublic: Boolean, botRequireCodeGrant: Boolean, termsOfServiceUrl: Option[String], privacyPolicyUrl: Option[String], owner: Option[PartialUser], summary: String, verifyKey: String, team: Option[Team], guildId: Option[GuildId], primarySkuId: Option[RawSnowflake], slug: Option[String], coverImage: Option[String], flags: Option[ApplicationFlags])

    id

    Id of the application.

    name

    Name of the application.

    icon

    Icon hash for the application.

    description

    Description of the application.

    rpcOrigins

    A sequence of RPC origin urls, if RPC is enabled.

    botPublic

    If other users can add this bot to guilds.

    botRequireCodeGrant

    If the bot requires the full OAuth2 code grant flow to join a guild.

    termsOfServiceUrl

    URL for the application's ToS

    privacyPolicyUrl

    URL for the application's privacy policy

    owner

    The owner of the application

    summary

    If this application is a game sold on Discord, then this is a short summary

    verifyKey

    Hex encoded hey for verification in interactions and the GameSDK's GetTicket

    team

    The team the application belongs to, if it belongs to one

    guildId

    If this application is a game sold on Discord, the guild id it has been linked to

    primarySkuId

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

    slug

    If this application is a game sold on Discord, an URL slug that links to the store page

    coverImage

    This application's default rich presence invite cover image hash

    flags

    This application's public flags

Value Members

  1. val botPublic: Boolean
  2. val botRequireCodeGrant: Boolean
  3. val coverImage: Option[String]
  4. val description: String
  5. val flags: Option[ApplicationFlags]
  6. val guildId: Option[GuildId]
  7. val icon: Option[String]
  8. val id: ApplicationId
  9. val name: String
  10. val owner: Option[PartialUser]
  11. val primarySkuId: Option[RawSnowflake]
  12. val privacyPolicyUrl: Option[String]
  13. def productElementNames: Iterator[String]
    Definition Classes
    Product
  14. val rpcOrigins: Option[Seq[String]]
  15. val slug: Option[String]
  16. val summary: String
  17. val team: Option[Team]
  18. val termsOfServiceUrl: Option[String]
  19. val verifyKey: String