[Core] Use new PyPI urls (#3607)

* fix: use new PyPI urls

* Update core_commands.py

* Update core_commands.py
This commit is contained in:
jack1142
2020-02-28 02:43:21 +01:00
committed by GitHub
parent ad4a75bdc1
commit e8b975a095
2 changed files with 4 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ def init_events(bot, cli_flags):
outdated_red_message = ""
with contextlib.suppress(aiohttp.ClientError, discord.HTTPException):
async with aiohttp.ClientSession() as session:
async with session.get("https://pypi.python.org/pypi/red-discordbot/json") as r:
async with session.get("https://pypi.org/pypi/red-discordbot/json") as r:
data = await r.json()
if VersionInfo.from_str(data["info"]["version"]) > red_version_info:
INFO.append(