mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
fix(ClientApplication): Message#application is a partial ClientApplication
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -228,8 +228,8 @@ declare module 'discord.js' {
|
||||
|
||||
export class ClientApplication extends Base {
|
||||
constructor(client: Client, data: object);
|
||||
public botPublic: boolean;
|
||||
public botRequireCodeGrant: boolean;
|
||||
public botPublic?: boolean;
|
||||
public botRequireCodeGrant?: boolean;
|
||||
public cover?: string;
|
||||
public readonly createdAt: Date;
|
||||
public readonly createdTimestamp: number;
|
||||
@@ -237,7 +237,7 @@ declare module 'discord.js' {
|
||||
public icon: string;
|
||||
public id: Snowflake;
|
||||
public name: string;
|
||||
public owner: User;
|
||||
public owner?: User;
|
||||
public rpcOrigins: string[];
|
||||
public coverImage(options?: AvatarOptions): string;
|
||||
public fetchAssets(): Promise<ClientApplicationAsset>;
|
||||
|
||||
Reference in New Issue
Block a user