What is the max this can output?
Since main help channel is closed, I'm creating a post
This is the code:
guild.channels.cache.filter(channel => channel.isThread() && !channel.archived).size
What's the highest number this can output?8 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!The point of this script is to know whenever the bot can create a thread or is the limit reached
If the limit is reached, give the user an error
Not really possible with my code structure, can't I check it like I'm trying to?
It's just how my code is structured
I create stuff in database before creating a channel/thread
A bit inconvinient
I have a question: why do you constantly remove "Auth" from the threads lol
because they ask unrelated questions
Oh, makes sense...
Bruh
:OMEGAlul:
>':
yeah, that's about enough - closing
please open a new one if the issue persists and you still think it is discord.js related