aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-07-24 03:48:37 -0400
committerRapptz <[email protected]>2018-07-24 03:48:51 -0400
commit12236325f6965cee37e06f31615b50abc0a3a127 (patch)
treecc4109ad1a106f6afece13b86f6477aac283b040
parentAdd clarification about creating guilds (diff)
downloaddiscord.py-12236325f6965cee37e06f31615b50abc0a3a127.tar.xz
discord.py-12236325f6965cee37e06f31615b50abc0a3a127.zip
Add a warning for self-bots in Client.login
Closes #1449
-rw-r--r--discord/client.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index e6243410..95dad1fa 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -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