Fix /ping not showing correct locale (#276)

yeah...

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-03-20 14:22:54 +03:00 committed by GitHub
parent cd75780582
commit ecb92a318c
Signed by: GitHub
GPG key ID: B5690EEEBB952194
6 changed files with 17 additions and 17 deletions

View file

@ -91,7 +91,7 @@ public class PingCommandGroup : CommandGroup
}
var embed = new EmbedBuilder().WithSmallTitle(bot.GetTag(), bot)
.WithTitle($"Sound{Random.Shared.Next(1, 4)}".Localized())
.WithTitle($"Generic{Random.Shared.Next(1, 4)}".Localized())
.WithDescription($"{latency:F0}{Messages.Milliseconds}")
.WithColour(latency < 250 ? ColorsList.Green : latency < 500 ? ColorsList.Yellow : ColorsList.Red)
.WithCurrentTimestamp()