ncls.
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by bavtrungdai on 8/21/2023 in #djs-questions
giveaway bot
<Embed>.fields.find()
returns a field object while <Array>.slice()
expects an index as the first parameter. You should get an error there.6 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Yes, we are running the host
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Well, the Docker container these bots are running on
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
I'm talking about hosting servers, yeah
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
I just compared the implementations of D.py and D.js and they do it the exact same way. I think a friend just didn't test it properly when he said that it works in Py. I asked him to test it again.
Is there any potential fix for this? We can't control the behavior of the bots on this server for the most part. Is it possible to request increased rate limits bound to IP?
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
I just wanted to ask if applying for an increased global rate limit would help, but Discord even says:"Interaction endpoints are not bound to the bot's Global Rate Limit."...
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Why exactly?
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
I get it everytime I wanna use editReply()
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
So CF can also rate limit specific endpoints? Since everything else works
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Thought that... It's pretty much impossible to find this bot/these bots...
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Here's the headers:
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Alright, so it now returned a 429. So it's basically the interactoin webhook route being rate limited? Does Dpy use a different route?
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
It didn't really produce anything that has to do with that. Just typical heartbeats etc. But after around 30 mins I get this "Inavlid Webhook Token" error
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Both return version 14.11.0, no rate limit errors occur
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Hmm. But then why would just one specific function not work and throw an "Invalid Webhook Token" API error, while Python works just fine doing the exact same thing? We are facing this issue since months and we have no idea what the issue could be. Both servers are running the exact same Docker images, so the bots are basically running in the exact same enviroment on both servers. Also normal webhooks work just fine on the server. So it does at least have something to do with Discord.js and since I don't know enough about the implementation of Djs itself, I thought I'd ask here so that someone maybe has an idea what could be the issue.
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
No, it's just a Docker container. All servers have the same Docker images.
26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
Ok, but in that case it still doesn't work with up to date bots. And as I already said, the bots that can't execute
editReply
on this one server, can execute it everywhere else. Be it another server or locally on the people's pc26 replies
DIAdiscord.js - Imagine an app
•Created by ncls. on 6/2/2023 in #djs-questions
deferReply not working on specific server
What versions would be outdated? I don't think that's the issue. I freshly created the test bot, so NPM probably downloaded LTS and all the bots that don't work on this server, work on the other ones or on the people's local machines.
26 replies