From 06916f7ea2114556537d4d9a90b864c9055ba7c3 Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 20:55:22 +0530 Subject: [PATCH 01/20] Update Utility.cs --- src/NadekoBot/Modules/Utility/Utility.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 4e479ab8..4b27544b 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -176,47 +176,47 @@ namespace NadekoBot.Modules.Utility }, Fields = new[] { new EmbedField() { - Name = "Author", + Name = "**Author**", Value = stats.Author, Inline = true }, new EmbedField() { - Name = "Library", + Name = "**Library**", Value = stats.Library, Inline = true }, new EmbedField() { - Name = "Bot ID", + Name = "**Bot ID**", Value = NadekoBot.Client.GetCurrentUser().Id.ToString(), Inline = true }, new EmbedField() { - Name = "Commands Ran", + Name = "**Commands Ran**", Value = stats.CommandsRan.ToString(), Inline = true }, new EmbedField() { - Name = "Messages", + Name = "**Messages**", Value = $"{stats.MessageCounter} [{stats.MessagesPerSecond:F2}/sec]", Inline = true }, new EmbedField() { - Name = "Memory", + Name = "**Memory**", Value = $"{stats.Heap} MB", Inline = true }, new EmbedField() { - Name = "Owner ID(s)", + Name = "**Owner ID(s)**", Value = stats.OwnerIds, Inline = true }, new EmbedField() { - Name = "Uptime", + Name = "**Uptime**", Value = stats.GetUptimeString("\n"), Inline = true }, new EmbedField() { - Name = "Presence", + Name = "**Presence**", Value = $"{NadekoBot.Client.GetGuilds().Count} servers\n{stats.TextChannels} Text Channels\n{stats.VoiceChannels} Voice Channels", Inline = true }, From 1b6274919fe05acd0e727195c7b51c255feac10d Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 20:57:58 +0530 Subject: [PATCH 02/20] Update Searches.cs --- src/NadekoBot/Modules/Searches/Searches.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/NadekoBot/Modules/Searches/Searches.cs b/src/NadekoBot/Modules/Searches/Searches.cs index 904a7b1f..870f3805 100644 --- a/src/NadekoBot/Modules/Searches/Searches.cs +++ b/src/NadekoBot/Modules/Searches/Searches.cs @@ -44,15 +44,15 @@ namespace NadekoBot.Modules.Searches var obj = JObject.Parse(response)["weather"]; var embed = new EmbedBuilder() - .AddField(fb => fb.WithName("🌍 Location").WithValue($"{obj["target"]}").WithIsInline(true)) - .AddField(fb => fb.WithName("📏 Lat,Long").WithValue($"{obj["latitude"]}, {obj["longitude"]}").WithIsInline(true)) - .AddField(fb => fb.WithName("☁ Condition").WithValue($"{obj["condition"]}").WithIsInline(true)) - .AddField(fb => fb.WithName("😓 Humidity").WithValue($"{obj["humidity"]}%").WithIsInline(true)) - .AddField(fb => fb.WithName("💨 Wind Speed").WithValue($"{obj["windspeedk"]}km/h ({obj["windspeedm"]}mph)").WithIsInline(true)) - .AddField(fb => fb.WithName("🌡 Temperature").WithValue($"{obj["centigrade"]}°C ({obj["fahrenheit"]}°F)").WithIsInline(true)) - .AddField(fb => fb.WithName("🔆 Feels like").WithValue($"{obj["feelscentigrade"]}°C ({obj["feelsfahrenheit"]}°F)").WithIsInline(true)) - .AddField(fb => fb.WithName("🌄 Sunrise").WithValue($"{obj["sunrise"]}").WithIsInline(true)) - .AddField(fb => fb.WithName("🌇 Sunset").WithValue($"{obj["sunset"]}").WithIsInline(true)) + .AddField(fb => fb.WithName("🌍 **Location**").WithValue($"{obj["target"]}").WithIsInline(true)) + .AddField(fb => fb.WithName("📏 **Lat,Long**").WithValue($"{obj["latitude"]}, {obj["longitude"]}").WithIsInline(true)) + .AddField(fb => fb.WithName("☁ **Condition**").WithValue($"{obj["condition"]}").WithIsInline(true)) + .AddField(fb => fb.WithName("😓 **Humidity**").WithValue($"{obj["humidity"]}%").WithIsInline(true)) + .AddField(fb => fb.WithName("💨 **Wind Speed**").WithValue($"{obj["windspeedk"]}km/h ({obj["windspeedm"]}mph)").WithIsInline(true)) + .AddField(fb => fb.WithName("🌡 **Temperature**").WithValue($"{obj["centigrade"]}°C ({obj["fahrenheit"]}°F)").WithIsInline(true)) + .AddField(fb => fb.WithName("🔆 **Feels like**").WithValue($"{obj["feelscentigrade"]}°C ({obj["feelsfahrenheit"]}°F)").WithIsInline(true)) + .AddField(fb => fb.WithName("🌄 **Sunrise**").WithValue($"{obj["sunrise"]}").WithIsInline(true)) + .AddField(fb => fb.WithName("🌇 **Sunset**").WithValue($"{obj["sunset"]}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); await channel.EmbedAsync(embed.Build()).ConfigureAwait(false); } From 37001dddbe89b8e75d4b1a1a920a8400d6164357 Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 21:03:19 +0530 Subject: [PATCH 03/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index 73f10f05..e7cc92b3 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -104,14 +104,15 @@ namespace NadekoBot.Modules.Help if (alias != null) str += $" / `{alias}`"; var embed = new EmbedBuilder() - .WithAuthor(eau => eau.WithName("Help") + .WithAuthor(eau => eau.WithName("Command") .WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/") .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) + .WithDescription(str) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName("**Command**").WithValue(str).WithIsInline(true)) + //.AddField(fb => fb.WithIndex(1).WithName("**Command**").WithValue(str).WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(true)) - .AddField(fb => fb.WithIndex(3).WithName("Description").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(false)) + .AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); if (com != null) await channel.EmbedAsync(embed.Build()).ConfigureAwait(false); From 2d3662fa73d8e74b38ef59efc18ed3d48aafe8b5 Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 21:24:34 +0530 Subject: [PATCH 04/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index e7cc92b3..353e53c2 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -107,12 +107,12 @@ namespace NadekoBot.Modules.Help .WithAuthor(eau => eau.WithName("Command") .WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/") .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) - .WithDescription(str) + //.WithDescription(str) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - //.AddField(fb => fb.WithIndex(1).WithName("**Command**").WithValue(str).WithIsInline(true)) - .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(true)) - .AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName("**(str)**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) + //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); if (com != null) await channel.EmbedAsync(embed.Build()).ConfigureAwait(false); From 4b15d813e129c04481a1544486f5f5fe70d463ea Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 21:33:15 +0530 Subject: [PATCH 05/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index 353e53c2..d8cbe529 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -110,7 +110,7 @@ namespace NadekoBot.Modules.Help //.WithDescription(str) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName("**(str)**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From 5b8285d21b8abe509797cd0ee7ff0eb78986915b Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 21:40:41 +0530 Subject: [PATCH 06/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index d8cbe529..dae63fe6 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -99,10 +99,10 @@ namespace NadekoBot.Modules.Help await channel.EmbedAsync(erro.Build()); return; } - var str = $"{com.Text}"; + var str = $"**{com.Text}**"; var alias = com.Aliases.Skip(1).FirstOrDefault(); if (alias != null) - str += $" / `{alias}`"; + str += $" / **`{alias}`**"; var embed = new EmbedBuilder() .WithAuthor(eau => eau.WithName("Command") .WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/") From 9facdb27d710fab08b619988ced1625d1c2b329c Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 21:46:48 +0530 Subject: [PATCH 07/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index dae63fe6..a094f37b 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -99,18 +99,17 @@ namespace NadekoBot.Modules.Help await channel.EmbedAsync(erro.Build()); return; } - var str = $"**{com.Text}**"; + var str = $"**`{com.Text}`"; var alias = com.Aliases.Skip(1).FirstOrDefault(); if (alias != null) - str += $" / **`{alias}`**"; + str += $" / `{alias}`**"; var embed = new EmbedBuilder() .WithAuthor(eau => eau.WithName("Command") .WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/") .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) - //.WithDescription(str) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} { GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From 56ce2a00d9cbf9df91ada0a9008aff6dfbbd7fc0 Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 21:55:40 +0530 Subject: [PATCH 08/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index a094f37b..3f7e8129 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} { GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix, )}{ GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From b0582ae6aa89f4fc6e6972437d33d1aef5daddaa Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 21:58:59 +0530 Subject: [PATCH 09/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index 3f7e8129..c9c6bb3c 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,7 +109,8 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix, )}{ GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} + { GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From 01f2d7776ab1115d23ec0d38bf076fb25829690a Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 22:03:59 +0530 Subject: [PATCH 10/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index c9c6bb3c..8abeb8a2 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,8 +109,7 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} - { GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}\n{ GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From fae62a2b9993aa2c73186f76213f2c34f6d29d20 Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 22:07:59 +0530 Subject: [PATCH 11/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index 8abeb8a2..1857b68a 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}\n{ GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements( com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From 39183f70d5565330497c39e769cf13000e839795 Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 22:11:11 +0530 Subject: [PATCH 12/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index 1857b68a..b8488a98 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,8 +109,8 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements( com)}").WithIsInline(true)) - .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(, com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(true)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); if (com != null) From 218e2dbcb78bfaa416b5df57ff505b1c68d8fd9e Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 22:14:40 +0530 Subject: [PATCH 13/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index b8488a98..c8d2abb1 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(, com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(true)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From e4f2a82f9ad5f9ff64db516dd6a4e0a0b422d275 Mon Sep 17 00:00:00 2001 From: samvaio Date: Sun, 4 Dec 2016 23:07:56 +0530 Subject: [PATCH 14/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index c8d2abb1..b8ad983f 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -110,7 +110,7 @@ namespace NadekoBot.Modules.Help //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) - .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); if (com != null) From c1792db98dc56996770f498343a97fba3e863599 Mon Sep 17 00:00:00 2001 From: samvaio Date: Mon, 5 Dec 2016 00:05:44 +0530 Subject: [PATCH 15/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index b8ad983f..9de61d21 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -99,17 +99,17 @@ namespace NadekoBot.Modules.Help await channel.EmbedAsync(erro.Build()); return; } - var str = $"**`{com.Text}`"; + var str = $"**`{com.Text}`**"; var alias = com.Aliases.Skip(1).FirstOrDefault(); if (alias != null) - str += $" / `{alias}`**"; + str += $"** / `{alias}`**"; var embed = new EmbedBuilder() .WithAuthor(eau => eau.WithName("Command") .WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/") .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} **|** { GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From 66d8f5838e4a2b11ebef0bce3a77c9daa3d040f6 Mon Sep 17 00:00:00 2001 From: samvaio Date: Mon, 5 Dec 2016 00:12:51 +0530 Subject: [PATCH 16/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index 9de61d21..efe3530a 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -102,7 +102,7 @@ namespace NadekoBot.Modules.Help var str = $"**`{com.Text}`**"; var alias = com.Aliases.Skip(1).FirstOrDefault(); if (alias != null) - str += $"** / `{alias}`**"; + str += $" **/** **`{alias}`**"; var embed = new EmbedBuilder() .WithAuthor(eau => eau.WithName("Command") .WithUrl("http://nadekobot.readthedocs.io/en/latest/Commands%20List/") From 854e76ac022a25860019b09be8ab86b993f7a365 Mon Sep 17 00:00:00 2001 From: samvaio Date: Mon, 5 Dec 2016 00:21:11 +0530 Subject: [PATCH 17/20] Update Utility.cs --- src/NadekoBot/Modules/Utility/Utility.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 4b27544b..4eb914bd 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -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 }, From aecf83940c07088ffae32167aab6c6e442c04356 Mon Sep 17 00:00:00 2001 From: samvaio Date: Mon, 5 Dec 2016 00:22:16 +0530 Subject: [PATCH 18/20] Update Utility.cs --- src/NadekoBot/Modules/Utility/Utility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 4eb914bd..5dce8930 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -217,7 +217,7 @@ namespace NadekoBot.Modules.Utility }, new EmbedField() { 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 }, From 7a8b95e077cb460002a3182960302855e081cd40 Mon Sep 17 00:00:00 2001 From: samvaio Date: Mon, 5 Dec 2016 00:30:20 +0530 Subject: [PATCH 19/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index efe3530a..bb10569d 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} **|** { GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} { GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor); From 2de14c2b66e9e125ae7e91a9b866afa420cb29d4 Mon Sep 17 00:00:00 2001 From: samvaio Date: Mon, 5 Dec 2016 00:38:22 +0530 Subject: [PATCH 20/20] Update Help.cs --- src/NadekoBot/Modules/Help/Help.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index bb10569d..5661c2b0 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Help .WithIconUrl(NadekoBot.Client.GetCurrentUser().AvatarUrl)) //.WithTitle(str) //.WithDescription($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}") - .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} { GetCommandRequirements(com)}").WithIsInline(true)) + .AddField(fb => fb.WithIndex(1).WithName(str).WithValue($"{ string.Format(com.Summary, com.Module.Prefix)} { GetCommandRequirements(com)}").WithIsInline(true)) .AddField(fb => fb.WithIndex(2).WithName("**Usage**").WithValue($"{string.Format(com.Remarks, com.Module.Prefix)}").WithIsInline(false)) //.AddField(fb => fb.WithIndex(3).WithName("**Description**").WithValue($"{ string.Format(com.Summary, com.Module.Prefix)}{ GetCommandRequirements(com)}").WithIsInline(true)) .WithColor(NadekoBot.OkColor);