Update Utility.cs

This commit is contained in:
samvaio 2016-12-05 00:21:11 +05:30 committed by GitHub
parent 66d8f5838e
commit 854e76ac02

View File

@ -176,47 +176,47 @@ namespace NadekoBot.Modules.Utility
}, },
Fields = new[] { Fields = new[] {
new EmbedField() { new EmbedField() {
Name = "**Author**", Name = Format.Bold("Author"),
Value = stats.Author, Value = stats.Author,
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Library**", Name = Format.Bold("Library"),
Value = stats.Library, Value = stats.Library,
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Bot ID**", Name = Format.Bold("Bot ID"),
Value = NadekoBot.Client.GetCurrentUser().Id.ToString(), Value = NadekoBot.Client.GetCurrentUser().Id.ToString(),
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Commands Ran**", Name = Format.Bold("Commands Ran"),
Value = stats.CommandsRan.ToString(), Value = stats.CommandsRan.ToString(),
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Messages**", Name = Format.Bold("Messages"),
Value = $"{stats.MessageCounter} [{stats.MessagesPerSecond:F2}/sec]", Value = $"{stats.MessageCounter} ({stats.MessagesPerSecond:F2}/sec)",
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Memory**", Name = Format.Bold("Memory"),
Value = $"{stats.Heap} MB", Value = $"{stats.Heap} MB",
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Owner ID(s)**", Name = Format.Bold("Owner ID(s)"),
Value = stats.OwnerIds, Value = stats.OwnerIds,
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Uptime**", Name = Format.Bold("Uptime"),
Value = stats.GetUptimeString("\n"), Value = stats.GetUptimeString("\n"),
Inline = true Inline = true
}, },
new EmbedField() { new EmbedField() {
Name = "**Presence**", Name = Format.Bold("Presence"),
Value = $"{NadekoBot.Client.GetGuilds().Count} servers\n{stats.TextChannels} Text Channels\n{stats.VoiceChannels} Voice Channels", Value = $"{NadekoBot.Client.GetGuilds().Count} servers\n{stats.TextChannels} Text Channels\n{stats.VoiceChannels} Voice Channels",
Inline = true Inline = true
}, },