Add a warning for self-bots in Client.login

Closes #1449
This commit is contained in:
Rapptz 2018-07-24 03:48:37 -04:00
parent e15452e198
commit 12236325f6

View File

@ -323,6 +323,12 @@ class Client:
This function can be used in two different ways.
.. warning::
Logging on with a user token is against the Discord
`Terms of Service <https://support.discordapp.com/hc/en-us/articles/115002192352>`_
and doing so might potentially get your account ban. Use this at your own risk.
Parameters
-----------
token: str