This should now be complete. Nothing went absolutely horribly wrong, and the proxy is now running two processes instead of one.
However, please message me immediately if you see any quirks or falsebans.
This should now be complete. Nothing went absolutely horribly wrong, and the proxy is now running two processes instead of one.
However, please message me immediately if you see any quirks or falsebans.
Hi everyone,
I found a fatal bug in the anti-abuse measures I put in place relating to ratelimits. I have fixed the bug in the latest commit, and as an apology I have unbanned all webhooks affected by the anti-abuse for ratelimit violations.
To keep it short, I was accidentally using the same Redis key for two operations: ratelimit violation tracking and ratelimit reset time. This would mean the proxy thought your webhooks were millions of requests over the threshold for bans.
On self hosted instances with autoBlock
turned off (or prior to the Redis migration), this will not affect you and is an optional update, however I recommend updating anyway just in case that you start to use auto blocking.
Iām sorry if this affected your webhooks.
It does not seem to be working for me.
Edit: I inputted āwebhook.lewistehminerz.deā instead of āwebhook.lewistehminerz.devā lol. Works fine now.
Let me answer that for you, most people use discord literally guided is not really that used. To be honest it was a big swing and miss.
In my eyes, thatās better, Less latency and traffic for our http requests to get messed about on.
I use guilded for developing, not for communication or chat. It creates two separate channels and can help organization of the game development.
Any plans on making this into a Docker?
I use Docker a lot
Docker containers arenāt my forte and I never planned to make this into a containerised app but I can give it a shot. Can you live with docker-compose?
E: Looks like Iād have to rewrite parts of the codebase to support this. Iāll put it on the backburner for now.
This is how i normally set up my dockers.
Not sure if docker-compose is the same.
PS: Sometimes itās also best to include port 80 = choose.
That way we can use what port we need
Can you pls tell me how to use this proxy in my code ?
Do I need to add this or what I need to do ?
And how do I get the webhook id ?
Just by copying the url of the webhook and paste it up in the chrome ?
Thereās a guide on the site but Iāll put it here too.
If you have a piece of code that looks like this:
local httpService = game:GetService("HttpService")
httpService:PostAsync("https://discord.com/api/webhooks/{WEBHOOK_ID}/{WEBHOOK_TOKEN}",
httpService:JSONEncode({
content = "Hello, world!"
})
)
You need to change discord.com
to webhook.lewistehminerz.dev
. After that it will work as normal.
You can optionally use the module I wrote which hides away the interaction with the proxy and gives a niceish API. The id
and token
are in the URL already; the ID is the numbers after /api/webhooks
and the token is after the ID.
But I have another doubt,
After the link, there is no numbers, there are only text like webhook id and token
This one, {WEBHOOK_ID}/{WEBHOOK_TOKEN}
Thatās just filler for the example. Youād use your actual webhook stuff there. E.g., https://webhook.lewistehminerz.dev/api/webhooks/1234567891234567/jsdnfjnsdkjfnsdnfnsjdfjksndfjn
.
Yes? I donāt particularly understand what youāre asking. If you have your webhook URL already, you can just copy the ID and token from there.
Ok fine, Thankyou for the clarification
Sorry for not sending a meaning full sentence. My keypad glitches sometimes.
Is this webhook can be used for feedback forms ?
And in case if I add your proxy in my feedback from code, only changing the url is enough in my code or I need to create a seperate proxy server in order to receive the feedback from the users
?
Thank you for this, I am currently making a suggestion GUI.
The reason is I only have discord to read suggestions
But thank you!