> For the complete documentation index, see [llms.txt](https://galacticadevelopment.gitbook.io/galactica-devlopment/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://galacticadevelopment.gitbook.io/galactica-devlopment/npm-module/server-count.md).

# Server Count

If your discord module is different, check out our [API > Server Count](https://galacticadevelopment.gitbook.io/galactica-devlopment/api/stats) page.

```
const Discord = require("discord.js");
const client = new Discord.Client();
const Galactica = require("galacticaapi.js");
const dbl = new Galactica("TOKEN-HERE", client);

client.on("ready", () => {
  dbl.serverCount();
})

client.login("MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7Cq4se7kKWs");
```
