diff --git a/deno/rest/v10/user.ts b/deno/rest/v10/user.ts index a92c6230..d56378dd 100644 --- a/deno/rest/v10/user.ts +++ b/deno/rest/v10/user.ts @@ -1,7 +1,7 @@ import type { Permissions, Snowflake } from '../../globals.ts'; import type { - APIChannel, APIConnection, + APIDMChannel, APIGuildMember, APIUser, APIApplicationRoleConnection, @@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * @see {@link https://discord.com/developers/docs/resources/user#create-dm} */ -export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel; +export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel; /** * @see {@link https://discord.com/developers/docs/resources/user#get-user-connections} diff --git a/deno/rest/v9/user.ts b/deno/rest/v9/user.ts index 7160f36b..61cf4129 100644 --- a/deno/rest/v9/user.ts +++ b/deno/rest/v9/user.ts @@ -1,7 +1,7 @@ import type { Permissions, Snowflake } from '../../globals.ts'; import type { - APIChannel, APIConnection, + APIDMChannel, APIGuildMember, APIUser, APIApplicationRoleConnection, @@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * @see {@link https://discord.com/developers/docs/resources/user#create-dm} */ -export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel; +export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel; /** * @see {@link https://discord.com/developers/docs/resources/user#get-user-connections} diff --git a/rest/v10/user.ts b/rest/v10/user.ts index 3f4406eb..438d3d22 100644 --- a/rest/v10/user.ts +++ b/rest/v10/user.ts @@ -1,7 +1,7 @@ import type { Permissions, Snowflake } from '../../globals'; import type { - APIChannel, APIConnection, + APIDMChannel, APIGuildMember, APIUser, APIApplicationRoleConnection, @@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * @see {@link https://discord.com/developers/docs/resources/user#create-dm} */ -export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel; +export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel; /** * @see {@link https://discord.com/developers/docs/resources/user#get-user-connections} diff --git a/rest/v9/user.ts b/rest/v9/user.ts index f52f60bc..300b7348 100644 --- a/rest/v9/user.ts +++ b/rest/v9/user.ts @@ -1,7 +1,7 @@ import type { Permissions, Snowflake } from '../../globals'; import type { - APIChannel, APIConnection, + APIDMChannel, APIGuildMember, APIUser, APIApplicationRoleConnection, @@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { /** * @see {@link https://discord.com/developers/docs/resources/user#create-dm} */ -export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel; +export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel; /** * @see {@link https://discord.com/developers/docs/resources/user#get-user-connections}