mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
feat: app authorization links and tags for v13 (#7731)
This commit is contained in:
8
typings/index.d.ts
vendored
8
typings/index.d.ts
vendored
@@ -634,6 +634,9 @@ export class ClientApplication extends Application {
|
||||
public commands: ApplicationCommandManager;
|
||||
public cover: string | null;
|
||||
public flags: Readonly<ApplicationFlags>;
|
||||
public tags: string[];
|
||||
public installParams: ClientApplicationInstallParams | null;
|
||||
public customInstallURL: string | null;
|
||||
public owner: User | Team | null;
|
||||
public readonly partial: boolean;
|
||||
public rpcOrigins: string[];
|
||||
@@ -3568,6 +3571,11 @@ export type AllowedThreadTypeForNewsChannel = 'GUILD_NEWS_THREAD' | 10;
|
||||
|
||||
export type AllowedThreadTypeForTextChannel = 'GUILD_PUBLIC_THREAD' | 'GUILD_PRIVATE_THREAD' | 11 | 12;
|
||||
|
||||
export interface ClientApplicationInstallParams {
|
||||
scopes: InviteScope[];
|
||||
permissions: Readonly<Permissions>;
|
||||
}
|
||||
|
||||
export interface APIErrors {
|
||||
UNKNOWN_ACCOUNT: 10001;
|
||||
UNKNOWN_APPLICATION: 10002;
|
||||
|
||||
Reference in New Issue
Block a user