From a02f929d343b7d2b5ca0c61dce019929fec9b7a0 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sat, 24 Dec 2022 18:55:14 +1100 Subject: OAuth2 authorize bot flow --- src/util/schemas/ApplicationAuthorizeSchema.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/util/schemas/ApplicationAuthorizeSchema.ts (limited to 'src/util/schemas/ApplicationAuthorizeSchema.ts') diff --git a/src/util/schemas/ApplicationAuthorizeSchema.ts b/src/util/schemas/ApplicationAuthorizeSchema.ts new file mode 100644 index 00000000..1a0aae0f --- /dev/null +++ b/src/util/schemas/ApplicationAuthorizeSchema.ts @@ -0,0 +1,7 @@ +export interface ApplicationAuthorizeSchema { + authorize: boolean; + guild_id: string; + permissions: string; + captcha_key?: string; + code?: string; // 2fa code +} \ No newline at end of file -- cgit 1.5.1