From 7e5f6e6dbf3b3efc82135a6066507cba4f5478e7 Mon Sep 17 00:00:00 2001 From: Romain J Date: Tue, 10 Sep 2019 23:48:50 +0200 Subject: [PATCH] finish(launcher): finish all launcher features --- README.md | 4 ++-- bot.py | 2 +- launcher.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 878b6cf..a88686d 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ - [ ] Alias system for commands (e.g. `.alias .ci show .cs`) - [ ] Migrate MySQL to postgresql - [ ] Prepare bot for python 3.8 and discord.py 1.3.0 - - [ ] Create launcher + - [x] Create launcher ## Launcher requirements : - [x] Can install the bot - [x] Can launch the bot - - [ ] Can propose updates + - [x] Can propose updates ## New commands : diff --git a/bot.py b/bot.py index dd130ad..6771a9c 100755 --- a/bot.py +++ b/bot.py @@ -49,7 +49,7 @@ class TuxBot(commands.AutoShardedBot): self.prefixes = Config('prefixes.json') self.blacklist = Config('blacklist.json') - self.version = Version(10, 0, 0, pre_release='a18', build=git.Repo(search_parent_directories=True).head.object.hexsha) + self.version = Version(10, 0, 0, pre_release='a20', build=git.Repo(search_parent_directories=True).head.object.hexsha) for extension in l_extensions: if extension not in unload: diff --git a/launcher.py b/launcher.py index 6650593..9a9de54 100644 --- a/launcher.py +++ b/launcher.py @@ -82,7 +82,7 @@ def _update(): local = git.Repo(search_parent_directories=True) current = local.head.object.hexsha - origin = requests.get('https://git.gnous.eu/api/v1/repos/gnouseu/tuxbot-bot/branches/master') + origin = requests.get('https://git.gnous.eu/api/v1/repos/gnouseu/tuxbot-bot/branches/rewrite') last = origin.json().get('commit').get('id') if current != last: