we dev on prod in here boys
This commit is contained in:
parent
9cf24faaaf
commit
e3ee95c87d
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ import { DiscordSDK } from "@discord/embedded-app-sdk";
|
|||
const discordSdk = new DiscordSDK(CLIENT_ID);
|
||||
|
||||
export async function authorize() {
|
||||
await discordSdk.ready();
|
||||
|
||||
const { code } = await discordSdk.commands.authorize({
|
||||
client_id: CLIENT_ID,
|
||||
response_type: "code",
|
||||
|
|
Loading…
Reference in a new issue