diff --git a/NadekoBot/Classes/NadekoStats.cs b/NadekoBot/Classes/NadekoStats.cs index 5f63f060..5578cd71 100644 --- a/NadekoBot/Classes/NadekoStats.cs +++ b/NadekoBot/Classes/NadekoStats.cs @@ -6,10 +6,13 @@ using System.Diagnostics; using System.Linq; using NadekoBot.Extensions; using System.Threading.Tasks; +using System.Reflection; + + namespace NadekoBot { public class NadekoStats { - public string BotVersion = "NadekoBot 0.8-beta14"; + public string BotVersion { get; } = $"{Assembly.GetExecutingAssembly().GetName().Name} v{Assembly.GetExecutingAssembly().GetName().Version.ToString()}"; private static readonly NadekoStats _instance = new NadekoStats(); public static NadekoStats Instance => _instance; diff --git a/NadekoBot/Modules/Music.cs b/NadekoBot/Modules/Music.cs index 43324097..fff6abae 100644 --- a/NadekoBot/Modules/Music.cs +++ b/NadekoBot/Modules/Music.cs @@ -296,14 +296,13 @@ namespace NadekoBot.Modules { await e.Channel.SendMessage($"🎵**Track at position `#{num}` has been removed.**"); }); - cgb.CreateCommand("debug") - .Description("Writes some music data to console. **BOT OWNER ONLY**") - .AddCheck(Classes.Permissions.SimpleCheckers.OwnerOnly()) - .Do(e => { - var output = "SERVER_NAME---SERVER_ID-----USERCOUNT----QUEUED\n" + - string.Join("\n", musicPlayers.Select(kvp => kvp.Key.Name + "--" + kvp.Key.Id + " --" + kvp.Key.Users.Count() + "--" + kvp.Value.Playlist.Count)); - Console.WriteLine(output); - }); + //cgb.CreateCommand("debug") + // .Description("Does something magical. **BOT OWNER ONLY**") + // .AddCheck(Classes.Permissions.SimpleCheckers.OwnerOnly()) + // .Do(e => { + // var inactivePlayers = + // Console.WriteLine(""); + // }); }); } diff --git a/NadekoBot/Properties/AssemblyInfo.cs b/NadekoBot/Properties/AssemblyInfo.cs index 7b8bf2aa..169ac193 100644 --- a/NadekoBot/Properties/AssemblyInfo.cs +++ b/NadekoBot/Properties/AssemblyInfo.cs @@ -5,12 +5,13 @@ using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("NadekoBot")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyDescription("Discord bot written in C#.")] +[assembly: AssemblyCompany("Kwoth")] +[assembly: AssemblyCopyright("Copyright © Kwoth 2015-2016")] [assembly: AssemblyProduct("NadekoBot")] -[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyVersion("0.9.*")] +[assembly: AssemblyTitle("NadekoBot")] +[assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +33,3 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/NadekoBot/bin/Debug/Discord.Net.Audio.dll b/NadekoBot/bin/Debug/Discord.Net.Audio.dll index e77213cc..11773713 100644 Binary files a/NadekoBot/bin/Debug/Discord.Net.Audio.dll and b/NadekoBot/bin/Debug/Discord.Net.Audio.dll differ diff --git a/NadekoBot/bin/Debug/Discord.Net.Commands.dll b/NadekoBot/bin/Debug/Discord.Net.Commands.dll index 5f43c5bf..003b4515 100644 Binary files a/NadekoBot/bin/Debug/Discord.Net.Commands.dll and b/NadekoBot/bin/Debug/Discord.Net.Commands.dll differ diff --git a/NadekoBot/bin/Debug/Discord.Net.Modules.dll b/NadekoBot/bin/Debug/Discord.Net.Modules.dll index 49327983..7110cea7 100644 Binary files a/NadekoBot/bin/Debug/Discord.Net.Modules.dll and b/NadekoBot/bin/Debug/Discord.Net.Modules.dll differ diff --git a/NadekoBot/bin/Debug/Discord.Net.dll b/NadekoBot/bin/Debug/Discord.Net.dll index 255a3168..a98ae3e7 100644 Binary files a/NadekoBot/bin/Debug/Discord.Net.dll and b/NadekoBot/bin/Debug/Discord.Net.dll differ