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 toolkit6mo 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ãozinhoOP6mo ago
Using discord.js
chewie
chewie6mo ago
By ID, no.
Joãozinho
JoãozinhoOP6mo ago
Isn't there any way I could pull that?
chewie
chewie6mo ago
Using an invite, perhaps
d.js docs
d.js docs6mo 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ãozinhoOP6mo ago
It is not possible to get an invitation only by the server ID, right?
chewie
chewie6mo ago
Of course not
Joãozinho
JoãozinhoOP6mo ago
Can't I really pull anything from the server ID?
chewie
chewie6mo ago
No
Joãozinho
JoãozinhoOP6mo 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:
Want results from more Discord servers?
Add your server