Skip to content

Commit

Permalink
Update user-agent (#1758)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobDotCom committed Nov 4, 2022
1 parent 8c408fc commit 0558e22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions discord/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ def __init__(
self.use_clock: bool = not unsync_clock

user_agent = (
"DiscordBot (https://github.com/Pycord-Development/pycord {0})"
" Python/{1[0]}.{1[1]} aiohttp/{2}"
"DiscordBot (https://pycord.dev, {0}) Python/{1[0]}.{1[1]} aiohttp/{2}"
)
self.user_agent: str = user_agent.format(
__version__, sys.version_info, aiohttp.__version__
Expand Down

0 comments on commit 0558e22

Please sign in to comment.