OAuth2 authorize bot flow

This commit is contained in:
Madeline committed 2022-12-24 18:55:14 +11:00
1 parent 35938556fe
commit a02f929d34
5 files changed
+164 -1

No files matched your search

@@ -0,0 +1,7 @@
export interface ApplicationAuthorizeSchema {
authorize: boolean;
guild_id: string;
permissions: string;
captcha_key?: string;
code?: string; // 2fa code
}
+2 -1
View File
@@ -58,4 +58,5 @@ export * from "./ChannelReorderSchema";
export * from "./UserSettingsSchema";
export * from "./BotModifySchema";
export * from "./ApplicationModifySchema";
export * from "./ApplicationCreateSchema";
export * from "./ApplicationCreateSchema";
export * from "./ApplicationAuthorizeSchema";