This commit is contained in:
cirroskais 2024-03-18 15:25:34 -04:00
parent 2cdb406e1c
commit 9420779adb
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -8,15 +8,11 @@
output = output + `auth: ${JSON.stringify(auth)}\n`; output = output + `auth: ${JSON.stringify(auth)}\n`;
if (!auth) return (output += `failed to authenticate :'c`); if (!auth) return (output += `failed to authenticate :'c`);
const activity = await discordSdk.commands.setActivity({ const response = await discordSdk.commands.openExternalLink({
activity: { url: "https://garf.madhouselabs.net",
type: 0,
details: "garf",
state: "Playing",
},
}); });
output = output + `activity: ${JSON.stringify(activity)}\n`; output = output + `response: ${JSON.stringify(response)}\n`;
} }
main(); main();