discord.io
discord.io copied to clipboard
get all serverids the bot is connected to?
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
Object.keys(bot.servers)
gives an array of server IDs.
Imagine reading the docs :)))))