#is it possible to list all the guilds that a bot is in?
13 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
client.guilds.cache
i can work with that but does discord itself have that information? i know this is about discordjs but i'm just curious.
I'm not following
What exactly do you mean by "does discord itself have that information"
I believe they mean whether Discord has an interface listing all the guilds an application is in
the cache will clear each time the bot is restarted. i just mean is there an api that will let me know where all the bot lives at any given time?
Or not
no, you're right @trail flame
i mean that i could just store each detected guild by dumping that cache on every message so that i know every server that the bot has been on but that won't tell me if the bot has been disinvited, if i understand the cache. i was wondering if there is something like a client.guilds.joined or something like this that would tell me where all the bot is currently operating.