change: added ending date for givaway as a timestamp tag

fixed: fixed an issue with flag translates
This commit is contained in:
Kwoth
2024-11-28 08:55:01 +00:00
parent e036a2d3c9
commit 4069368beb
4 changed files with 10 additions and 2 deletions

View File

@@ -38,6 +38,8 @@ public partial class Utility
eb
.WithOkColor()
.WithTitle(GetText(strs.giveaway_started))
.AddField(GetText(strs.lasts_until), TimestampTag.FromDateTime(DateTime.UtcNow.Add(duration)), true)
// .AddField(GetText(strs.winners_count), "1", true)
.WithFooter($"id: {new kwum(id).ToString()}");
await startingMsg.AddReactionAsync(new Emoji(GiveawayService.GiveawayEmoji));