Skip to main content
Module

x/discordeno/mod.ts>DiscordApplication

Discord API library for Deno
Latest
interface DiscordApplication
Re-export
import { type DiscordApplication } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Properties

name: string

The name of the app

description: string

The description of the app

optional
rpc_origins: string[]

An array of rpc origin urls, if rpc is enabled

optional
terms_of_service_url: string

The url of the app's terms of service

optional
privacy_policy_url: string

The url of the app's privacy policy

verify_key: string

The hex encoded key for verification in interactions and the GameSDK's GetTicket

optional
primary_sku_id: string

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

optional
slug: string

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

optional
flags: ApplicationFlags

The application's public flags

id: string

The id of the app

icon: string | null

The icon hash of the app

bot_public: boolean

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

bot_require_code_grant: boolean

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

optional
owner: Partial<DiscordUser>

Partial user object containing info on the owner of the application

team: DiscordTeam | null

If the application belongs to a team, this will be a list of the members of that team

optional
guild_id: string

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

optional
cover_image: string

If this application is a game sold on Discord, this field will be the hash of the image on store embeds

optional
tags: string[]

up to 5 tags describing the content and functionality of the application

optional
install_params: DiscordInstallParams

settings for the application's default in-app authorization link, if enabled

optional
custom_install_url: string

the application's default custom authorization link, if enabled