oh hell yeah
This commit is contained in:
parent
4d9cb6e3f4
commit
404c4af435
1 changed files with 5 additions and 2 deletions
|
@ -1,12 +1,15 @@
|
|||
<script lang="ts">
|
||||
import { authorize, setActivity } from "./lib/discord";
|
||||
|
||||
let output = {};
|
||||
|
||||
authorize().then(async (auth) => {
|
||||
// we now have our authenticated context.
|
||||
await setActivity();
|
||||
output = await setActivity();
|
||||
});
|
||||
</script>
|
||||
|
||||
<main>
|
||||
<p>yo</p>
|
||||
<p>garf 2: eletric boogaloo</p>
|
||||
<tt>{JSON.stringify(output, null, 4)}</tt>
|
||||
</main>
|
||||
|
|
Loading…
Reference in a new issue