E
E
Evgeny Fedotov2021-03-29 20:54:53
Node.js
Evgeny Fedotov, 2021-03-29 20:54:53

How to check if there is a bot on the server if the bot uses shards?

How to check if there is a bot on the server if the bot uses shards? does not work :(

client.guilds.cache.get("ServerID");

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
UberPool, 2021-03-31
@UberPool

You can loop through and check for the presence of the server

A
Artem, 2021-03-31
@Kp18

The broadcastEval function has long been invented https://discord.js.org/#/docs/main/stable/class/Sh...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question