S
S
spiriddan2021-03-01 21:41:38
API
spiriddan, 2021-03-01 21:41:38

Is it possible to get the data of a discord server with just an id?

During authorization, the user gives access to the data of all servers in which he is a member. However, in order to later refer to this information, you must either save it (which will take up a lot of space in the database), or ask the user again to provide access to this data. The optimal way out is to save the id of the servers, so that later you can request the rest of the required information. But for any requests to the discord, authorization is required. If you log in using the bot token, it will be possible to get information only for servers that the bot has already joined. Is there any other way to get the data?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-03-01
@vabka

No.

A
Artem Melnykov, 2021-03-05
@NickProgramm

Maybe an example in Discord.JS:bot.guilds.cache.get("ID");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question