dev #20

Manually merged
profitroll merged 99 commits from dev into master 2023-04-24 14:33:37 +03:00
Showing only changes of commit adef3b3afc - Show all commits

View File

@ -181,9 +181,9 @@ async def main():
response = await check_update.json()
if len(response) == 0:
raise ValueError("No bot releases on git found.")
if float(response[0]["tag_name"].replace("v.", "")) > version:
if float(response[0]["tag_name"].replace("v", "")) > version:
logWrite(
f'New version {response[0]["tag_name"].replace("v.", "")} found (current {version})'
f'New version {response[0]["tag_name"].replace("v", "")} found (current {version})'
)
await app.send_message(
configGet("owner"),