mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
[Core] Use new PyPI urls (#3607)
* fix: use new PyPI urls * Update core_commands.py * Update core_commands.py
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user