updates and stuff iono
All checks were successful
Code quality checks / biome (push) Successful in 12s

This commit is contained in:
Seth 2025-06-18 18:30:18 -04:00
parent ac10faf685
commit 0052ac2532
7 changed files with 13 additions and 33 deletions

View file

@ -21,7 +21,7 @@ export default class {
this._socket.send(
JSON.stringify({
topic: "hr:84aa0f",
topic: `hr:${process.env.HYPERATE_ID}`,
event: "phx_join",
payload: {},
ref: 0,

View file

@ -31,7 +31,7 @@ export default class {
JSON.stringify({
op: 2,
d: {
subscribe_to_id: "1273447359417942128",
subscribe_to_id: process.env.DISCORD_ID,
},
}),
);

View file

@ -11,8 +11,8 @@ const effectTick = new Audio("https://no.ipv4.army/raw/Effect_Tick.ogg");
document.onclick = () => {
"vibrate" in navigator && navigator.vibrate(1);
effectTick.currentTime = 0;
effectTick.play()
effectTick.play();
};
// You're garbage, let me collect you.
fetch("/api/gc");
fetch("/api/gc");

View file

@ -111,7 +111,10 @@ new Backend.Sockets.Hyperate((data) => {
});
new Backend.Sockets.Lanyard((data) => {
lanyard = data;
lanyard = {
discord_status: data.discord_status,
activities: data.activities,
};
server.publish(
"lanyard",
JSON.stringify({ type: "lanyard", data: lanyard }),