From b5d4ec50ca7c5a95c74ea153fad769d0d9cf4042 Mon Sep 17 00:00:00 2001 From: backwardspy Date: Tue, 17 Sep 2024 00:10:21 +0100 Subject: [PATCH] fix: replace underscores instead of hyphens in actions (#5) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index afe445d..2dfc52c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -279,7 +279,7 @@ fn make_discord_message(e: &Event) -> anyhow::Result> embed.author(e.sender.clone()); - let display_action = e.action.replace('-', " "); + let display_action = e.action.replace('_', " "); if let Some(comment) = &e.comment { if e.action != "created" {