oh hell yeah

This commit is contained in:
cirroskais 2024-03-18 14:54:07 -04:00
parent 4d9cb6e3f4
commit 404c4af435
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -1,12 +1,15 @@
<script lang="ts"> <script lang="ts">
import { authorize, setActivity } from "./lib/discord"; import { authorize, setActivity } from "./lib/discord";
let output = {};
authorize().then(async (auth) => { authorize().then(async (auth) => {
// we now have our authenticated context. // we now have our authenticated context.
await setActivity(); output = await setActivity();
}); });
</script> </script>
<main> <main>
<p>yo</p> <p>garf 2: eletric boogaloo</p>
<tt>{JSON.stringify(output, null, 4)}</tt>
</main> </main>