mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
Fix /ping not showing correct locale
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
2342116e87
commit
87cfd77586
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ public class PingCommandGroup : CommandGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
var embed = new EmbedBuilder().WithSmallTitle(bot.GetTag(), bot)
|
var embed = new EmbedBuilder().WithSmallTitle(bot.GetTag(), bot)
|
||||||
.WithTitle($"Sound{Random.Shared.Next(1, 4)}".Localized())
|
.WithTitle($"Loaded{Random.Shared.Next(1, 4)}".Localized())
|
||||||
.WithDescription($"{latency:F0}{Messages.Milliseconds}")
|
.WithDescription($"{latency:F0}{Messages.Milliseconds}")
|
||||||
.WithColour(latency < 250 ? ColorsList.Green : latency < 500 ? ColorsList.Yellow : ColorsList.Red)
|
.WithColour(latency < 250 ? ColorsList.Green : latency < 500 ? ColorsList.Yellow : ColorsList.Red)
|
||||||
.WithCurrentTimestamp()
|
.WithCurrentTimestamp()
|
||||||
|
|
Loading…
Add table
Reference in a new issue