Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>DiscordenoApplication

A powerful and customizable framework for Discordeno
Latest
interface DiscordenoApplication
Re-export
import { type DiscordenoApplication } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

id: bigint

The id of the app

name: string

The name of the app

optional
icon: bigint

The icon hash of the app

description: string

The description of the app

optional
rpcOrigins: string[]

An array of rpc origin urls, if rpc is enabled

botPublic: boolean

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

botRequireCodeGrant: boolean

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

optional
termsOfServiceUrl: string

The url of the app's terms of service

optional
privacyPolicyUrl: string

The url of the app's privacy policy

optional
owner: Partial<DiscordenoUser>

Partial user object containing info on the owner of the application

summary: string

If this application is a game sold on Discord, this field will be the summary field for the store page of its primary sku

verifyKey: string

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

optional
team: DiscordenoTeam

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

optional
guildId: bigint

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

optional
primarySkuId: 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
coverImage: string

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

optional
flags: ApplicationFlags

The application's public flags