- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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!
#How to make status show amount of shards and total guild members for all shards in the status?
38 messages · Page 1 of 1 (latest)
Actually my bad im currently using the v13.16 version not the v14.13
And are you using internal sharding or traditional ?
Because with internal sharding you wouldn’t have to adjust anything compared to before
Im using
1 sec
note: I removed my token btw
@sand agate I dont know whats the difference b/w internal and traditional
Ah, that’s traditional sharding. The more complicated kind
You‘d need that then
Appreciate it ❤️
@sand agate I tried it out but it just shows the total member count for 1 shard
What did you try exactly? What code?
@sand agate actually it works now
just a question, is there a way I can make it use 2 shards instead of 3?
By not setting totalShards: 'auto' but instead set it to 2. but why do you want it to use one shard less than discord recommends?
@sand agate my hosting ram usage has been going up by a lot
could it be because of the shards?
or does it have no effect on the ram
Of course more processes and more guilds you serve means more ram usage
Alright, thanks.
One last thing (sorry for pinging)
So if I wanna make it use 2 shard do I just do
totalShards: 2,
Because when I use my bot in my server it doesn't work but then I try it in another server it worked
What is that a reason for? Starting a statement with because while there‘s no issue you stated before makes it hard to understand
@sand agate Problem is, it was working well yesterday I didn't change anything so I dont know whats the problem
How can I make it just run 2 shards
Just to experiment
How has that anything to do with this post‘s topic though ?
You already said it yourself, after I said it. Did you actually try that?
Yeah I did 2 it didn't work gave me an error
My question is: can I make the bot to use 2 shards yes or no
If yes then what do I do
I read the docs but nothing there about it
Easiest way is to just pass amount: 2 to the spawn call
Alright thanks
Sharding: Getting started - FetchClientValues