From 3aea25060897417066709ef39a66d05bf6f36433 Mon Sep 17 00:00:00 2001 From: Milka64 Date: Mon, 4 Jan 2021 18:24:30 +0100 Subject: [PATCH] add update for audio repository --- kabot/kabot/kabot.py | 3 +++ 1 file changed, 3 insertions(+) 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.