From cdf874c23e1486a6237b1e84a798749bbe47414b Mon Sep 17 00:00:00 2001 From: Jason Liquorish Date: Fri, 12 Oct 2018 23:11:02 +0100 Subject: [PATCH] Re-format ci bot message --- src/bin/build-bot.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/bin/build-bot.rs b/src/bin/build-bot.rs index 3d87b8b..effde57 100644 --- a/src/bin/build-bot.rs +++ b/src/bin/build-bot.rs @@ -27,8 +27,11 @@ fn main() { client.send_privmsg( "#commits", format!( - "Hello from Travis CI! {}/{} {}: {}", - repository_slug, branch, commit, commit_message + "[{}/{}] ({}) {}", + repository_slug, + branch, + &commit[..7], + commit_message ), )?; client.send_quit("QUIT")?;