From 1af68d464d913c4b13d5df0bbfcaae0f2b7f54c4 Mon Sep 17 00:00:00 2001 From: Elias Wendland <193786789+eliaswen@users.noreply.github.com> Date: Mon, 31 Aug 2026 17:19:14 +0200 Subject: [PATCH] Fix me being very tired and undoing the fix I did instead of changing the test that failed because of it --- src/bot/commands/git.rs | 2 +- src/web/mod.rs | 2 +- static/page.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bot/commands/git.rs b/src/bot/commands/git.rs index 2e2149d..84434ec 100644 --- a/src/bot/commands/git.rs +++ b/src/bot/commands/git.rs @@ -13,7 +13,7 @@ pub async fn git(ctx: Context<'_>) -> Result<(), Error> { let response = ctx.say("Processing...").await?; - let msg = "Git repo: https://git.ewenlau.net/ewenlau/tg-archive-bot\nIf you'd like to contribute, contact <@1389325880853270569> to get an account."; + let msg = "Git repo: https://git.ewenlau.net/ewenlau/tg-archive\nIf you'd like to contribute, contact <@1389325880853270569> to get an account."; edit_response_message(&response, ctx, msg, true).await?; trace_message( msg, diff --git a/src/web/mod.rs b/src/web/mod.rs index d27baeb..7599ac5 100644 --- a/src/web/mod.rs +++ b/src/web/mod.rs @@ -1226,7 +1226,7 @@ mod tests { assert!(html.contains("class=\"theme-white\"")); assert!(!html.contains("If you cannot see any messages")); assert!(include_str!("../../static/index.html").contains("If you cannot see any messages")); - assert!(html.contains("git.ewenlau.net/ewenlau/tg-archive-bot")); + assert!(html.contains("git.ewenlau.net/ewenlau/tg-archive")); assert!(html.contains("Copyright © 2026 Ewi and contributors")); assert!(html.contains("licensed under GPL-3.0")); assert!(html.contains("href=\"/privacy\"")); diff --git a/static/page.html b/static/page.html index 7b0e7ec..85422c2 100644 --- a/static/page.html +++ b/static/page.html @@ -25,7 +25,7 @@