Discoverable servers support

Does D.JS support having a bot on a discoverable server without it actually being there? I mean it works with the API, but does it work in D.JS?
7 Replies
d.js toolkit
d.js toolkit16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
duck
duck16mo ago
tbh I'm not entirely sure what you mean by 'having a bot on a server without it actually being there' is it possible you're just referring to a bot being invited with only the applications.commands scope (without the bot scope)?
progamersischu
progamersischu16mo ago
DJS doesn't has something like this implemented. I think you refer to the video of ntts?
monbrey
monbrey16mo ago
I'm not sure what you mean by "works with the API" either discord.js can be used to fetch the public information of a guild if it's public, but you can't put the bot on the server and have it respond to things
grass
grass16mo ago
do you mean the preview option?
PadowYT2
PadowYT2OP16mo ago
well, just remembered it, thats it yep, i undestand, but perhaps is there a list of public information yep
d.js docs
d.js docs16mo ago
method Client#fetchGuildPreview() Obtains a guild preview from Discord, available for all guilds the bot is in and all Discoverable guilds.
Want results from more Discord servers?
Add your server