The title photo features the website I built to let strangers annoy me. The website includes text to speech, YouTube audio playing, and even contro...
For further actions, you may consider blocking this person and/or reporting abuse
Would be sweet if you can add a camera feed so we can see the results!! :D
Please, please, don't use XMLHttpRequest, instead use fetch, more mordern and prevents the callback hell
Hey thanks for the comment, I chose xmlhttprequest for the discord code because I was more comfortable with the api, but I plan to change it out for fetch in the future when I have more experience
Yeah sure, its just that I get vibes when I see XMLHttpRequest.
Understandable. Can you recommend some resources for learning fetch?
It sounds so stupid at first but it's fascinating! lol
Thanks!
Sorry if it sounds mean but it awesome!
Doesnβt sound mean at all!
Cool, I have LIFX lights here too and I'm creating a simple control panel to control all the smarts things in one place. They offer a very simple to use API.
I believe you posted the Discord snippet twice though.
Thanks for sharing this!
Glad I could help! The only issue I had with the lifx api is the ratelimit, so I might switch to the lan api since that has no ratelimit.
I donβt see the discord snippet twice, does it still show up twice if you reload the page?
Hey you've leaked your Discord webhook url which can be used to raid the server that the webhook is in. Would consider sending requests through a backend than a client-side post request.
I use the discord channel as the intermediary, the actual tts stuff is handled by a discord bot that isnβt reachable from the site without going through the discord channel.
I can nab that url and start mass @ everyone'ing.
Itβs a private server with only me and the bot, have fun
Funny... I just saw your house on reddit π
it'd be cool if we could see a livestream of it happening :D