diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 3168ffb..7f2dbe0 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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.