#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)

crisp nightBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • 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!
wispy bear
#

Actually my bad im currently using the v13.16 version not the v14.13

sand agate
#

And are you using internal sharding or traditional ?

#

Because with internal sharding you wouldn’t have to adjust anything compared to before

wispy bear
#

Im using

#

1 sec

#

note: I removed my token btw

#

@sand agate I dont know whats the difference b/w internal and traditional

sand agate
#

Ah, that’s traditional sharding. The more complicated kind

toxic quiverBOT
#

guide Sharding: Getting started - FetchClientValues
read more

sand agate
#

You‘d need that then

wispy bear
#

Appreciate it ❤️

wispy bear
#

@sand agate I tried it out but it just shows the total member count for 1 shard

sand agate
wispy bear
#

@sand agate actually it works now

#

just a question, is there a way I can make it use 2 shards instead of 3?

sand agate
#

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?

wispy bear
#

@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

sand agate
#

Of course more processes and more guilds you serve means more ram usage

wispy bear
#

Alright, thanks.

wispy bear
wispy bear
#

Because when I use my bot in my server it doesn't work but then I try it in another server it worked

sand agate
#

What is that a reason for? Starting a statement with because while there‘s no issue you stated before makes it hard to understand

wispy bear
#

@sand agate Problem is, it was working well yesterday I didn't change anything so I dont know whats the problem

wispy bear
#

Just to experiment

sand agate
sand agate
wispy bear
#

Yeah I did 2 it didn't work gave me an error

wispy bear
#

If yes then what do I do

#

I read the docs but nothing there about it

sand agate
#

Easiest way is to just pass amount: 2 to the spawn call

wispy bear
#

Alright thanks