I'm trying to make a Discord server list, but I have no idea how to see which servers the users are on.
disboard.org
i will give an example
sample:
如果您从某个地方找到了 Discord 服务器列表基础架构,或者您有指向该基础架构的链接,可以将其发送给我吗?
Discord 的OAuth2 API包含guilds
范围,允许应用程序访问授权用户的公会。使用 OAuth2 进行身份验证后,您可以GET /users/@me/guilds
检索用户所在的公会列表。这将返回包含以下数据的部分公会对象:
{
"id": string,
"name": string,
"icon": string,
"owner": boolean,
"permissions": string,
"features": Array<string>
}
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(70条)