From 4a426a0335e79891fb9e62646c1e6c899db3c49a Mon Sep 17 00:00:00 2001 From: Jacob Henry Date: Wed, 28 Nov 2018 16:26:04 -0500 Subject: [PATCH] Fixed reassignment message --- job_commands.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/job_commands.py b/job_commands.py index ab37fc1..9f9e50e 100644 --- a/job_commands.py +++ b/job_commands.py @@ -231,9 +231,10 @@ async def reassign_callback(slack: SlackClient, msg: dict, match: Match) -> None context.assign.assignee = to_bro # Say we did it - slack_util.reply(slack, msg, "Toggled lateness of {}.\n" - "Now marked as late: {}".format(context.assign.job.pretty_fmt(), - context.assign.late)) + reassign_msg = "Job {} reassigned from {} to {}".format(context.assign.job.pretty_fmt(), + from_bro, + to_bro) + slack_util.reply(slack, msg, reassign_msg) # Tell the people reassign_msg = "Job {} reassigned from {} to {}".format(context.assign.job.pretty_fmt(),