Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

get all serverids the bot is connected to? #315

Open
e0xify opened this issue Jun 17, 2019 · 1 comment
Open

get all serverids the bot is connected to? #315

e0xify opened this issue Jun 17, 2019 · 1 comment

Comments

@e0xify
Copy link

e0xify commented Jun 17, 2019

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

@cloudrac3r
Copy link

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

Imagine reading the docs :)))))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants