From 5e83618ea19d50e2bbfac0ac8d9bc73786150ef5 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 19 Sep 2018 18:24:01 +0200 Subject: [PATCH] Nani!? --- bots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots.py b/bots.py index 3c746f14..4eb381b0 100644 --- a/bots.py +++ b/bots.py @@ -58,7 +58,7 @@ if __name__ == "__main__": except KeyboardInterrupt: logger.info("Now stopping...") logger.info("Asking Discord process to stop...") - discord_telegram_pipe[0].send("stop") + discord_telegram_pipe[1].send("stop") logger.info("Waiting for Discord Bot process to stop...") discord.join() logger.info("Waiting for Telegram Bot process to stop...")