diff options
| author | Rapptz <[email protected]> | 2015-12-09 21:49:39 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-12-09 21:49:39 -0500 |
| commit | e25cfae31d30de457dacd29268049666080488cb (patch) | |
| tree | a7c8b5eac5dbd3f2a2b7082b58eddcb38f66af6a | |
| parent | Modify User-Agent header to meet React's requirements. (diff) | |
| download | discord.py-e25cfae31d30de457dacd29268049666080488cb.tar.xz discord.py-e25cfae31d30de457dacd29268049666080488cb.zip | |
I'm being forced to change the user agent string again.
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index dbb2a80d..853c2a6c 100644 --- a/discord/client.py +++ b/discord/client.py @@ -109,7 +109,7 @@ class Client: self.session = aiohttp.ClientSession(loop=self.loop) # Blame React for this - user_agent = 'DiscordBot discord.py/{0} Python/{1[0]}.{1[1]} aiohttp/{2}' + user_agent = 'DiscordBot (https://github.com/Rapptz/discord.py {0}) Python/{1[0]}.{1[1]} aiohttp/{2}' self.headers = { 'content-type': 'application/json', |