w
This commit is contained in:
parent
2cdb406e1c
commit
9420779adb
1 changed files with 3 additions and 7 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue