Merge branch 'dev'
This commit is contained in:
commit
c6cba6de2f
@ -181,9 +181,9 @@ async def main():
|
|||||||
response = await check_update.json()
|
response = await check_update.json()
|
||||||
if len(response) == 0:
|
if len(response) == 0:
|
||||||
raise ValueError("No bot releases on git found.")
|
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(
|
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(
|
await app.send_message(
|
||||||
configGet("owner"),
|
configGet("owner"),
|
||||||
|
Reference in New Issue
Block a user