From 253aedb25f558dbab71c07589da1876f7c24ee77 Mon Sep 17 00:00:00 2001 From: sprunk Date: Sun, 11 Aug 2024 01:56:30 +0200 Subject: [PATCH] Push commit discord message: add horizontal lines To better delimit adjacent commits --- Zero-K.info/Controllers/GithubController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zero-K.info/Controllers/GithubController.cs b/Zero-K.info/Controllers/GithubController.cs index fe3014f63e..2597bf7a7e 100644 --- a/Zero-K.info/Controllers/GithubController.cs +++ b/Zero-K.info/Controllers/GithubController.cs @@ -64,7 +64,7 @@ public async Task Hook() dynamic commits = payload.commits; foreach (dynamic commit in commits) { - sb.AppendFormat("\n {0} <{1}>", commit.message, commit.url); + sb.AppendFormat("\n~~ ~~\n{0} <{1}>", commit.message, commit.url); count++; } if (count > 0) text = $"[{payload.repository.name}] {payload.sender.login} has pushed {count} commits: {sb}";