Fix redbot-update's pretend version not affecting version list (#6760)

This commit is contained in:
Jakub Kuczys
2026-05-18 23:24:05 +02:00
committed by GitHub
parent fce2e30451
commit 71fe7137a0
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -89,7 +89,9 @@ async def _check_cog_compatibility_command_impl(
console = common.get_console()
if red_version is None or python_version is None:
with console.status("Checking latest version..."):
latest = await fetch_latest_red_version()
latest = await fetch_latest_red_version(
include_prereleases=common.get_current_red_version().is_prerelease
)
red_version = latest.version
python_version = Version(".".join(map(str, sys.version_info[:3])))