diff --git a/scripts/chatbot.py b/scripts/chatbot.py index 59c6e5a3feeb5562d9f9df90db34306a2d52bc20..f66b90df3693a342f443c1383ca1cf9d376b0e04 100644 --- a/scripts/chatbot.py +++ b/scripts/chatbot.py @@ -98,7 +98,8 @@ def register_handlers(bot): stderr=subprocess.STDOUT).decode('ascii') except subprocess.CalledProcessError as e: output = e.output.decode('ascii') - print("supervisorctl output, called by {}:\n{}".format(user, output)) + print("supervisorctl ({}), called by {}:\n{}".format( + msg, user, output)) bot.send_message(output, channel_id) def shifters(msg, user, channel_id):