Skip to content

Commit 27e0b42

Browse files
authored
Set pycord user-agent (#241)
1 parent cd70e29 commit 27e0b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def __init__(
181181
self.proxy_auth: Optional[aiohttp.BasicAuth] = proxy_auth
182182
self.use_clock: bool = not unsync_clock
183183

184-
user_agent = 'DiscordBot (https://github.com/Rapptz/discord.py {0}) Python/{1[0]}.{1[1]} aiohttp/{2}'
184+
user_agent = 'DiscordBot (https://github.com/Pycord-Development/pycord {0}) Python/{1[0]}.{1[1]} aiohttp/{2}'
185185
self.user_agent: str = user_agent.format(__version__, sys.version_info, aiohttp.__version__)
186186

187187
def recreate(self) -> None:

0 commit comments

Comments
 (0)