finish(launcher): finish all launcher features
This commit is contained in:
parent
537a905f85
commit
7e5f6e6dbf
3 changed files with 4 additions and 4 deletions
|
@ -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 :
|
||||
|
||||
|
|
2
bot.py
2
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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue