Theme Config
Sharding
Soft-UI has a shards page built-in so if you use sharding you can publicly display statistics!
Dashboard Setup
Place this code into the theme config and change the key to your own SECURE string.
Bot Setup
Install the NPM package on your Sharding Manager
Almost done! Place this code into your ready event on the Sharding Manager or if using discord-hybrid-sharding, after spawning the clusters.
It should look like this, except with your details:
If you want to adjust the interval of stats posting, just simply change the interval to as many seconds as you want.
And we are done! Now just restart your dashboard and bot then the stats collection will begin.
Image
Props
Was this page helpful?