randomizes pfp with each spin

This commit is contained in:
bingus_violet 2024-05-19 09:56:03 -05:00
parent 242a8c55fb
commit 710d7c237f

View file

@ -25,6 +25,7 @@ function spinLoop() {
}
spins += 0.5
if (Math.round(spins) == spins && sock && sock.OPEN) {
document.querySelector(".pfp").src = "https://api.violets-purgatory.dev/v1/pfp?" + new Date().getTime()
sock.send(`{"op": 4}`)
console.log("Spin Sent!")
}