mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-12 00:39:56 +00:00
I'm being forced to change the user agent string again.
This commit is contained in:
parent
573fa90f1b
commit
e25cfae31d
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user