mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Go back to direct OCIS linking due to increased length limits in chat so it should work now
This commit is contained in:
@@ -224,8 +224,8 @@ public class NextCourtHearingCommand : ICommand
|
|||||||
var timespan = hearing.Time - DateTimeOffset.UtcNow;
|
var timespan = hearing.Time - DateTimeOffset.UtcNow;
|
||||||
if (timespan.TotalSeconds < 0) continue; // Already passed
|
if (timespan.TotalSeconds < 0) continue; // Already passed
|
||||||
result +=
|
result +=
|
||||||
//$"{i}: [url=https://eapps.courts.state.va.us/ocis/details;fromOcis=true;fullcaseNumber=109{hearing.CaseNumber.Replace("-", string.Empty)}]{hearing.CaseNumber}[/url] " +
|
$"{i}: [url=https://eapps.courts.state.va.us/ocis/details;fromOcis=true;fullcaseNumber=109{hearing.CaseNumber.Replace("-", string.Empty)}]{hearing.CaseNumber}[/url] " +
|
||||||
$"{i}: {hearing.CaseNumber} " +
|
//$"{i}: {hearing.CaseNumber} " +
|
||||||
$"{hearing.Description} will be heard in {timespan.Humanize(precision: 10, minUnit: TimeUnit.Second, maxUnit: TimeUnit.Year)}\r\n";
|
$"{hearing.Description} will be heard in {timespan.Humanize(precision: 10, minUnit: TimeUnit.Second, maxUnit: TimeUnit.Year)}\r\n";
|
||||||
}
|
}
|
||||||
return result.Trim();
|
return result.Trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user