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