diff options
| author | Rapptz <[email protected]> | 2018-07-24 03:48:37 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-07-24 03:48:51 -0400 |
| commit | 12236325f6965cee37e06f31615b50abc0a3a127 (patch) | |
| tree | cc4109ad1a106f6afece13b86f6477aac283b040 | |
| parent | Add clarification about creating guilds (diff) | |
| download | discord.py-12236325f6965cee37e06f31615b50abc0a3a127.tar.xz discord.py-12236325f6965cee37e06f31615b50abc0a3a127.zip | |
Add a warning for self-bots in Client.login
Closes #1449
| -rw-r--r-- | discord/client.py | 6 |
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 |