discord.io icon indicating copy to clipboard operation
discord.io copied to clipboard

get all serverids the bot is connected to?

Open e0xify opened this issue 5 years ago • 1 comments

is there a way to get the serverids from where the bot is connected to?

i want to make sure that no one has added the bot, which is not authorized yet.

thx

e0xify avatar Jun 17 '19 12:06 e0xify

Object.keys(bot.servers) gives an array of server IDs.

Imagine reading the docs :)))))

cloudrac3r avatar Jun 17 '19 12:06 cloudrac3r