fix(APIGuildIntegrationType): correct name of type (#366)

BREAKING CHANGE: `APIGuildInteractionType` is now correctly named `APIGuildIntegrationType`
This commit is contained in:
Jiralite
2022-03-11 22:53:08 +00:00
committed by GitHub
parent 8cb629befe
commit fa740eb16c
4 changed files with 8 additions and 8 deletions

View File

@@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
@@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}
export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors

View File

@@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
@@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}
export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors

View File

@@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
@@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}
export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors

View File

@@ -681,7 +681,7 @@ export interface APIGuildIntegration {
/**
* Integration type
*/
type: APIGuildInteractionType;
type: APIGuildIntegrationType;
/**
* Is this integration enabled
*/
@@ -760,7 +760,7 @@ export interface APIGuildIntegration {
application?: APIGuildIntegrationApplication;
}
export type APIGuildInteractionType = 'twitch' | 'youtube' | 'discord';
export type APIGuildIntegrationType = 'twitch' | 'youtube' | 'discord';
/**
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors