DiscordApplication
Documentation / @discordeno/bot / DiscordApplication
Interface: DiscordApplication
Defined in: packages/types/dist/types/discord.d.ts:293
https://discord.com/developers/docs/resources/application#application-object
Properties
approximate_guild_count?
optional
approximate_guild_count:number
Defined in: packages/types/dist/types/discord.d.ts:341
An approximate count of the app's guild membership.
approximate_user_install_count?
optional
approximate_user_install_count:number
Defined in: packages/types/dist/types/discord.d.ts:343
Approximate count of users that have installed the app.
bot?
optional
bot:Partial
<DiscordUser
>
Defined in: packages/types/dist/types/discord.d.ts:345
Partial user object for the bot user associated with the app
bot_public
bot_public:
boolean
Defined in: packages/types/dist/types/discord.d.ts:317
When false only app owner can join the app's bot to guilds
bot_require_code_grant
bot_require_code_grant:
boolean
Defined in: packages/types/dist/types/discord.d.ts:319
When true the app's bot will only join upon completion of the full oauth2 code grant flow
cover_image?
optional
cover_image:string
Defined in: packages/types/dist/types/discord.d.ts:329
If this application is a game sold on Discord, this field will be the hash of the image on store embeds
custom_install_url?
optional
custom_install_url:string
Defined in: packages/types/dist/types/discord.d.ts:337
the application's default custom authorization link, if enabled
description
description:
string
Defined in: packages/types/dist/types/discord.d.ts:297
The description of the app
event_webhooks_status
event_webhooks_status:
DiscordApplicationEventWebhookStatus
Defined in: packages/types/dist/types/discord.d.ts:353
If webhook events are enabled for the app. 1 to disable, and 2 to enable.
event_webhooks_types?
optional
event_webhooks_types:DiscordWebhookEventType
[]
Defined in: packages/types/dist/types/discord.d.ts:355
List of Webhook event types the app subscribes to
event_webhooks_url?
optional
event_webhooks_url:null
|string
Defined in: packages/types/dist/types/discord.d.ts:351
Event webhook URL for the app to receive webhook events
flags?
optional
flags:ApplicationFlags
Defined in: packages/types/dist/types/discord.d.ts:311
The application's public flags
guild?
optional
guild:Partial
<DiscordGuild
>
Defined in: packages/types/dist/types/discord.d.ts:327
A partial object of the associated guild
guild_id?
optional
guild_id:string
Defined in: packages/types/dist/types/discord.d.ts:325
Guild associated with the app. For example, a developer support server.
icon
icon:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:315
The icon hash of the app
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:313
The id of the app
install_params?
optional
install_params:DiscordInstallParams
Defined in: packages/types/dist/types/discord.d.ts:333
settings for the application's default in-app authorization link, if enabled
integration_types_config?
optional
integration_types_config:Partial
<Record
<"0"
|"1"
,DiscordApplicationIntegrationTypeConfiguration
>>
Defined in: packages/types/dist/types/discord.d.ts:335
Default scopes and permissions for each supported installation context.
interactions_endpoint_url?
optional
interactions_endpoint_url:null
|string
Defined in: packages/types/dist/types/discord.d.ts:349
Interactions endpoint URL for the app
name
name:
string
Defined in: packages/types/dist/types/discord.d.ts:295
The name of the app
owner?
optional
owner:Partial
<DiscordUser
>
Defined in: packages/types/dist/types/discord.d.ts:321
Partial user object containing info on the owner of the application
primary_sku_id?
optional
primary_sku_id:string
Defined in: packages/types/dist/types/discord.d.ts:307
If this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists
privacy_policy_url?
optional
privacy_policy_url:string
Defined in: packages/types/dist/types/discord.d.ts:303
The url of the app's privacy policy
redirect_uris?
optional
redirect_uris:string
[]
Defined in: packages/types/dist/types/discord.d.ts:347
Array of redirect URIs for the app
role_connections_verification_url?
optional
role_connections_verification_url:null
|string
Defined in: packages/types/dist/types/discord.d.ts:339
the application's role connection verification entry point, which when configured will render the app as a verification method in the guild role verification configuration
rpc_origins?
optional
rpc_origins:string
[]
Defined in: packages/types/dist/types/discord.d.ts:299
An array of rpc origin urls, if rpc is enabled
slug?
optional
slug:string
Defined in: packages/types/dist/types/discord.d.ts:309
If this application is a game sold on Discord, this field will be the URL slug that links to the store page
tags?
optional
tags:string
[]
Defined in: packages/types/dist/types/discord.d.ts:331
up to 5 tags describing the content and functionality of the application
team
team:
null
|DiscordTeam
Defined in: packages/types/dist/types/discord.d.ts:323
If the application belongs to a team, this will be a list of the members of that team
terms_of_service_url?
optional
terms_of_service_url:string
Defined in: packages/types/dist/types/discord.d.ts:301
The url of the app's terms of service
verify_key
verify_key:
string
Defined in: packages/types/dist/types/discord.d.ts:305
The hex encoded key for verification in interactions and the GameSDK's GetTicket