mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-28 04:30:26 +00:00
use event year instead of current year for event formatting
This commit is contained in:
parent
aeb118117b
commit
b986726cd0
@ -93,7 +93,7 @@ namespace CompatBot.Commands
|
||||
|
||||
if (firstNamedEvent.Start >= currentTicks)
|
||||
{
|
||||
var upcomingNamedEventMsg = $"__{FormatCountdown(firstNamedEvent.Start.AsUtc() - current)} until {eventName} {current.Year}!__";
|
||||
var upcomingNamedEventMsg = $"__{FormatCountdown(firstNamedEvent.Start.AsUtc() - current)} until {eventName} {firstNamedEvent.Year}!__";
|
||||
if (string.IsNullOrEmpty(promo) || nextEvent?.Id == firstNamedEvent.Id)
|
||||
upcomingNamedEventMsg += $"\nFirst event: {firstNamedEvent.Name}";
|
||||
else
|
||||
@ -124,7 +124,7 @@ namespace CompatBot.Commands
|
||||
return;
|
||||
}
|
||||
|
||||
var upcomingNamedEventMsg = $"__{FormatCountdown(firstNamedEvent.Start.AsUtc() - current)} until {eventName} {current.Year}!__";
|
||||
var upcomingNamedEventMsg = $"__{FormatCountdown(firstNamedEvent.Start.AsUtc() - current)} until {eventName} {firstNamedEvent.Year}!__";
|
||||
if (string.IsNullOrEmpty(promo) || nextEvent?.Id == firstNamedEvent.Id)
|
||||
upcomingNamedEventMsg += $"\nFirst event: {firstNamedEvent.Name}";
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user