Skip to content

Instantly share code, notes, and snippets.

@mrchoke
Last active August 17, 2021 00:07
Show Gist options
  • Save mrchoke/c4c7cf4ecca02876d8707b3fb4b22a40 to your computer and use it in GitHub Desktop.
Save mrchoke/c4c7cf4ecca02876d8707b3fb4b22a40 to your computer and use it in GitHub Desktop.
https://prayut.click n = pop , g = Guild , t = current timestamp #bot
setInterval(() => {
window.fetch('https://api.prayut.click/clicks', {
method: 'POST',
body: JSON.stringify({
n: Math.floor(Math.random() * 10) + 990,
g: 4,
t: Date.now()
}),
headers: {
'Content-type': 'application/json; charset=UTF-8'
}
})
.then(res => res.json())
.then(console.log)
},
10 * 1000
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment