Skip to content

Commit e8323e0

Browse files
committed
Ready for v2.6.6
1 parent 08d044b commit e8323e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

update.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from io import BytesIO
33

44
root_dir = os.path.dirname(os.path.abspath(__file__))
5-
__version__ = "v2.6.6b2"
5+
__version__ = "v2.6.6"
66

77
GITHUB_API_URL = "https://api.github.com/repos/ChocoMeow/Vocard/releases/latest"
88
VOCARD_URL = "https://github.com/ChocoMeow/Vocard/archive/"
@@ -27,7 +27,7 @@ def check_version(with_msg=False):
2727
latest_version = response.json().get("name", __version__)
2828
if with_msg:
2929
msg = f"{bcolors.OKGREEN}Your bot is up-to-date! - {latest_version}{bcolors.ENDC}" if latest_version == __version__ else \
30-
f"{bcolors.WARNING}Your bot is not up-to-date! The latest version is {latest_version} and you are currently running version {__version__}\n. Run `python update.py --start` to update your bot!{bcolors.ENDC}"
30+
f"{bcolors.WARNING}Your bot is not up-to-date! The latest version is {latest_version} and you are currently running version {__version__}\n. Run `python update.py -l` to update your bot!{bcolors.ENDC}"
3131
print(msg)
3232
return latest_version
3333

@@ -114,7 +114,7 @@ def main():
114114

115115
elif args.beta:
116116
response = download_file("refs/heads/beta")
117-
install(response, "beta.zip")
117+
install(response, "beta")
118118
pass
119119

120120
else:

0 commit comments

Comments
 (0)