Is there any way for me to pull the logo of a server just by its id, and the name without having to

Is there any way for me to pull the logo of a server just by its id, and the name without having to have a bot of mine on such a server?
11 Replies
d.js toolkit
d.js toolkit8mo 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!
Joãozinho
JoãozinhoOP8mo ago
Using discord.js
chewie
chewie8mo ago
By ID, no.
Joãozinho
JoãozinhoOP8mo ago
Isn't there any way I could pull that?
chewie
chewie8mo ago
Using an invite, perhaps
d.js docs
d.js docs8mo ago
:method: Client#fetchInvite @14.15.2 Obtains an invite from Discord.
client.fetchInvite('https://discord.gg/djs')
.then(invite => console.log(`Obtained invite with code: ${invite.code}`))
.catch(console.error);
client.fetchInvite('https://discord.gg/djs')
.then(invite => console.log(`Obtained invite with code: ${invite.code}`))
.catch(console.error);
:method: InviteGuild#iconURL @14.15.2 The URL to this guild's icon.
Joãozinho
JoãozinhoOP8mo ago
It is not possible to get an invitation only by the server ID, right?
chewie
chewie8mo ago
Of course not
Joãozinho
JoãozinhoOP8mo ago
Can't I really pull anything from the server ID?
chewie
chewie8mo ago
No
Joãozinho
JoãozinhoOP8mo ago
:monkaStop: Oauth login system then I made a front end site and in it shows this information and one of the things that passes in the request when the user registers and the server id Logo and name What would be the route?, but in this case I would need to release the guilds, right? :blobreachReverse:

Did you find this page helpful?