we dev on prod in here boys

This commit is contained in:
cirroskais 2024-03-18 15:02:01 -04:00
parent 9cf24faaaf
commit e3ee95c87d
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -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",