aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-12-09 21:49:39 -0500
committerRapptz <[email protected]>2015-12-09 21:49:39 -0500
commite25cfae31d30de457dacd29268049666080488cb (patch)
treea7c8b5eac5dbd3f2a2b7082b58eddcb38f66af6a
parentModify User-Agent header to meet React's requirements. (diff)
downloaddiscord.py-e25cfae31d30de457dacd29268049666080488cb.tar.xz
discord.py-e25cfae31d30de457dacd29268049666080488cb.zip
I'm being forced to change the user agent string again.
-rw-r--r--discord/client.py2
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',