mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-30 23:40:09 +00:00
chore(Types): update for PR discord/discord-api-docs#1886 (#6)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -213,9 +213,12 @@ export interface APIGuildIntegration {
|
||||
enable_emoticons?: boolean;
|
||||
expire_behavior: IntegrationExpireBehavior;
|
||||
expire_grace_period: number;
|
||||
user: APIUser;
|
||||
user?: APIUser;
|
||||
account: APIIntegrationAccount;
|
||||
synced_at: string;
|
||||
subscriber_count: number;
|
||||
revoked: boolean;
|
||||
application?: APIGuildIntegrationApplication;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -234,6 +237,18 @@ export interface APIIntegrationAccount {
|
||||
name: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/resources/guild#integration-application-object
|
||||
*/
|
||||
export interface APIGuildIntegrationApplication {
|
||||
id: string;
|
||||
name: string;
|
||||
icon: string | null;
|
||||
description: string;
|
||||
summary: string;
|
||||
bot?: APIUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/resources/guild#ban-object
|
||||
*/
|
||||
|
||||
@@ -20,6 +20,7 @@ export interface APIWebhook {
|
||||
token?: string;
|
||||
source_guild?: APIPartialGuild;
|
||||
source_channel?: APIPartialChannel;
|
||||
application_id: string | null;
|
||||
}
|
||||
|
||||
export enum WebhookType {
|
||||
|
||||
Reference in New Issue
Block a user