mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-31 07:50:09 +00:00
feat: APIWebhookSourceGuild (#1236)
This commit is contained in:
5
deno/payloads/v10/guild.ts
generated
5
deno/payloads/v10/guild.ts
generated
@@ -73,6 +73,11 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
|
||||
vanity_url_code?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Source guild of channel follower webhooks.
|
||||
*/
|
||||
export type APIWebhookSourceGuild = Pick<APIPartialGuild, 'icon' | 'id' | 'name'>;
|
||||
|
||||
/**
|
||||
* @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-structure}
|
||||
*/
|
||||
|
||||
4
deno/payloads/v10/webhook.ts
generated
4
deno/payloads/v10/webhook.ts
generated
@@ -6,8 +6,8 @@ import type { Snowflake } from '../../globals.ts';
|
||||
import type {
|
||||
APIEntitlement,
|
||||
APIGuild,
|
||||
APIPartialGuild,
|
||||
APIUser,
|
||||
APIWebhookSourceGuild,
|
||||
ApplicationIntegrationType,
|
||||
OAuth2Scopes,
|
||||
APIWebhookSourceChannel,
|
||||
@@ -60,7 +60,7 @@ export interface APIWebhook {
|
||||
/**
|
||||
* The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
source_guild?: APIPartialGuild;
|
||||
source_guild?: APIWebhookSourceGuild;
|
||||
/**
|
||||
* The channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
|
||||
5
deno/payloads/v9/guild.ts
generated
5
deno/payloads/v9/guild.ts
generated
@@ -73,6 +73,11 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
|
||||
vanity_url_code?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Source guild of channel follower webhooks.
|
||||
*/
|
||||
export type APIWebhookSourceGuild = Pick<APIPartialGuild, 'icon' | 'id' | 'name'>;
|
||||
|
||||
/**
|
||||
* @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-structure}
|
||||
*/
|
||||
|
||||
4
deno/payloads/v9/webhook.ts
generated
4
deno/payloads/v9/webhook.ts
generated
@@ -6,8 +6,8 @@ import type { Snowflake } from '../../globals.ts';
|
||||
import type {
|
||||
APIEntitlement,
|
||||
APIGuild,
|
||||
APIPartialGuild,
|
||||
APIUser,
|
||||
APIWebhookSourceGuild,
|
||||
ApplicationIntegrationType,
|
||||
OAuth2Scopes,
|
||||
APIWebhookSourceChannel,
|
||||
@@ -60,7 +60,7 @@ export interface APIWebhook {
|
||||
/**
|
||||
* The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
source_guild?: APIPartialGuild;
|
||||
source_guild?: APIWebhookSourceGuild;
|
||||
/**
|
||||
* The channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
|
||||
@@ -73,6 +73,11 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
|
||||
vanity_url_code?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Source guild of channel follower webhooks.
|
||||
*/
|
||||
export type APIWebhookSourceGuild = Pick<APIPartialGuild, 'icon' | 'id' | 'name'>;
|
||||
|
||||
/**
|
||||
* @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-structure}
|
||||
*/
|
||||
|
||||
@@ -6,8 +6,8 @@ import type { Snowflake } from '../../globals';
|
||||
import type {
|
||||
APIEntitlement,
|
||||
APIGuild,
|
||||
APIPartialGuild,
|
||||
APIUser,
|
||||
APIWebhookSourceGuild,
|
||||
ApplicationIntegrationType,
|
||||
OAuth2Scopes,
|
||||
APIWebhookSourceChannel,
|
||||
@@ -60,7 +60,7 @@ export interface APIWebhook {
|
||||
/**
|
||||
* The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
source_guild?: APIPartialGuild;
|
||||
source_guild?: APIWebhookSourceGuild;
|
||||
/**
|
||||
* The channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
|
||||
@@ -73,6 +73,11 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
|
||||
vanity_url_code?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Source guild of channel follower webhooks.
|
||||
*/
|
||||
export type APIWebhookSourceGuild = Pick<APIPartialGuild, 'icon' | 'id' | 'name'>;
|
||||
|
||||
/**
|
||||
* @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-structure}
|
||||
*/
|
||||
|
||||
@@ -6,8 +6,8 @@ import type { Snowflake } from '../../globals';
|
||||
import type {
|
||||
APIEntitlement,
|
||||
APIGuild,
|
||||
APIPartialGuild,
|
||||
APIUser,
|
||||
APIWebhookSourceGuild,
|
||||
ApplicationIntegrationType,
|
||||
OAuth2Scopes,
|
||||
APIWebhookSourceChannel,
|
||||
@@ -60,7 +60,7 @@ export interface APIWebhook {
|
||||
/**
|
||||
* The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
source_guild?: APIPartialGuild;
|
||||
source_guild?: APIWebhookSourceGuild;
|
||||
/**
|
||||
* The channel that this webhook is following (returned for Channel Follower Webhooks)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user