I'm being forced to change the user agent string again.

This commit is contained in:
Rapptz 2015-12-09 21:49:39 -05:00
parent 573fa90f1b
commit e25cfae31d

View File

@ -109,7 +109,7 @@ class Client:
self.session = aiohttp.ClientSession(loop=self.loop) self.session = aiohttp.ClientSession(loop=self.loop)
# Blame React for this # 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 = { self.headers = {
'content-type': 'application/json', 'content-type': 'application/json',