From 61bd606316cbc53727e17c034fc30f51f4e185e0 Mon Sep 17 00:00:00 2001 From: Gregory Bartholomew Date: Apr 14 2022 01:53:14 +0000 Subject: Status and preview line should use #info instead of #link --- diff --git a/bot/commands/pagure.pm b/bot/commands/pagure.pm index 49c4a77..7be5bf9 100644 --- a/bot/commands/pagure.pm +++ b/bot/commands/pagure.pm @@ -80,7 +80,7 @@ my sub _fmt { $ret = String::Tagged->from_sprintf( "#info %03d: %s%s (fpca: %s) (status: %s)\n" . - "#link status: https://%s/%s/issue/%d \n", + "#info status: https://%s/%s/issue/%d \n", $crd->{'id'}, String::Tagged->new_tagged( $crd->{'title'}, 'italic', 1 @@ -101,7 +101,7 @@ my sub _fmt { if ($preview) { $preview =~ s{^.*?(\d+).*$}{https://fedoramagazine.org/?p=$1\&preview=true}; - $ret .= "#link preview: $preview\n"; + $ret .= "#info preview: $preview\n"; } return $ret;