add update for audio repository
This commit is contained in:
parent
a8cc570aa4
commit
3aea250608
1 changed files with 3 additions and 0 deletions
|
@ -173,6 +173,9 @@ class Mybot(commands.Cog):
|
|||
async def update(self, message):
|
||||
output = Popen('git pull'.split(), stdout=PIPE).communicate()[0]
|
||||
await message.channel.send(output.decode('utf-8'))
|
||||
cmd_audio = "git -C %s pull" % self.audio_path
|
||||
output = Popen(cmd_audio.split(), stdout=PIPE).communicate()[0]
|
||||
await message.channel.send(output.decode('utf-8'))
|
||||
#Fin des commandes pour interagir avec Kabot.
|
||||
|
||||
#Les commandes pour faire mumuse avec Kabot.
|
||||
|
|
Loading…
Reference in a new issue