forked from TeamInklings/Octobot
Fix /ping not showing correct locale (#276)
yeah... --------- Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
cd75780582
commit
ecb92a318c
6 changed files with 17 additions and 17 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue