space
space
DIdiscord.js - Imagine ❄
Created by !Delta! on 11/23/2024 in #djs-questions
Delay Issue
That code does not look like it'll inherently run worse in a large guild. To check out the rate limit option, you can listen to the rate limited event on your client's rest instance: https://discordjs.dev/docs/packages/rest/2.4.0/RestEvents:Interface#rateLimited
7 replies
DIdiscord.js - Imagine ❄
Created by !Delta! on 11/23/2024 in #djs-questions
Delay Issue
40k members might impact things. Can you share the code in question that is significantly slower in a larger guild?
7 replies
DIdiscord.js - Imagine ❄
Created by ElJay on 10/21/2024 in #djs-questions
Does the REST handler retry failed requests?
This sounds like a reasonable request to me.
26 replies
DIdiscord.js - Imagine ❄
Created by Nab Heyka on 10/13/2024 in #djs-questions
How can i get ONLY the message from 1 person in a collector
That looks good
7 replies
DIdiscord.js - Imagine ❄
Created by Nab Heyka on 10/13/2024 in #djs-questions
How can i get ONLY the message from 1 person in a collector
By making the filter only return true for that one person. (By checking for their user id)
7 replies
DIdiscord.js - Imagine ❄
Created by cloud on 9/15/2024 in #djs-questions
how to get this typa button
It's the same
11 replies
DIdiscord.js - Imagine ❄
Created by cloud on 9/15/2024 in #djs-questions
how to get this typa button
I'm not sure I understand. If you want to know how to send such a (or rather any) button, you can refer to this: https://discordjs.guide/message-components/buttons.html
11 replies
DIdiscord.js - Imagine ❄
Created by cloud on 9/15/2024 in #djs-questions
how to get this typa button
11 replies
DIdiscord.js - Imagine ❄
Created by Annie on 9/13/2024 in #djs-questions
Trying to get custom set permissions for commands in a Guild.
Seems like it
10 replies
DIdiscord.js - Imagine ❄
Created by Annie on 9/13/2024 in #djs-questions
Trying to get custom set permissions for commands in a Guild.
The type tells you for what the id is
10 replies
DIdiscord.js - Imagine ❄
Created by Annie on 9/13/2024 in #djs-questions
Trying to get custom set permissions for commands in a Guild.
10 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
Yeah, you are Weird that it says 30 seconds though
20 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
Can you log await response.text()?
20 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
Again 30 seconds? You might want to checkout the request and response from the other event, maybe the response body contains more info
20 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
Yeah, it was just 30 seconds left anyway (by now long gone)
20 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
And the debug event seems to be called restDebug, not just debug. :shrug: Better just use the enum
20 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
When in doubt (especially during debugging), just log the entire object
20 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
Looks like the event is being emitted, but not with what you think it does emit
20 replies
DIdiscord.js - Imagine ❄
Created by 3v. on 8/23/2024 in #djs-questions
Deploy-commands not working
Can you add a response and restDebug listener as well?
20 replies
DIdiscord.js - Imagine ❄
Created by vivian <3 on 8/7/2024 in #djs-questions
pass variables into <ShardClientUtil>.broadcastEval()
By passing a context option as second parameter with your variable and then referencing that. https://discordjs.dev/docs/packages/discord.js/14.15.3/ShardClientUtil:Class#broadcastEval (overload 3)
4 replies