From 23771ea9495f7f10828789751779e25b69e43c6a Mon Sep 17 00:00:00 2001 From: ITOH Date: Sat, 17 Sep 2022 23:06:45 +0200 Subject: [PATCH] feat(types)!: add `two_way_link` to `DiscordConnection` (#2481) When the connection has a corresponding thrid party OAuth2 token `two_way_link` will be set to `true`. Reference: https://github.com/discordeno/discordeno/issues/2479 Closes: #2479 --- types/discord.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/discord.ts b/types/discord.ts index e57182d77..d92b94002 100644 --- a/types/discord.ts +++ b/types/discord.ts @@ -99,6 +99,8 @@ export interface DiscordConnection { /** An array of partial server integrations */ integrations?: DiscordIntegration[]; + /** Whether this connection has a corresponding third party OAuth2 token. */ + two_way_link: boolean; } /** https://discord.com/developers/docs/resources/user#connection-object-services */