简体   繁体   English

使用用户名和密码登录是否仍然适用于 discord.py?

[英]Does logging in with username & password still work with discord.py?

When i try to find any resource to log with a username and password (instead of a token), all of them fail.当我尝试找到任何使用用户名和密码(而不是令牌)登录的资源时,它们都失败了。 Is this still possible?这还有可能吗?

As Łukasz Kwieciński pointed out, it's not possible using discord.py with any version above 1.7.正如Łukasz Kwieciński指出的那样,不可能将 discord.py 与 1.7 以上的任何版本一起使用。

On older versions you can use a user token and pass bot=False as an argument of client.run在旧版本上,您可以使用用户令牌并将bot=False作为 client.run 的参数传递

This however is explicitly forbidden by the terms of service of discord and will result in ban for the user, the bot, and whomever else involved with the selfbot.然而,discord 的服务条款明确禁止这样做,并将导致用户、机器人以及与 selfbot 相关的任何其他人被禁止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM