且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Discord.py如何获得不是服务器成员的用户的雪花?

更新时间:2023-11-30 12:16:16

机器人无法找到无法访问的用户的ID,您需要该ID才能访问该用户.您可以在此处查看此调用的文档,这是库中唯一允许您访问该机器人无法直接与其通信的用户数据的调用

The bot cannot find the ID of a user it cannot access, you need the ID to access the user. You can view the docs for this call here, and this is the only call the library has that lets you access user data that the bot cannot directly communicate with