diff --git a/.vs/DiscordCLI/v16/.suo b/.vs/DiscordCLI/v16/.suo index 9ff999f..eddc0ba 100644 Binary files a/.vs/DiscordCLI/v16/.suo and b/.vs/DiscordCLI/v16/.suo differ diff --git a/DiscordCLI/CommandsManager.cs b/DiscordCLI/CommandsManager.cs index 96934bb..b852231 100644 --- a/DiscordCLI/CommandsManager.cs +++ b/DiscordCLI/CommandsManager.cs @@ -1,12 +1,11 @@ -using DSharpPlus; -using System; -using System.Collections.Generic; -using System.Linq; +using DSharpPlus.Entities; +using DSharpPlus; using Stone_Red_Utilities.ColorConsole; - -using DSharpPlus.Entities; +using System.Collections.Generic; using System.Diagnostics; using System.IO; +using System.Linq; +using System; namespace DiscordCLI { @@ -16,7 +15,7 @@ namespace DiscordCLI private readonly Dictionary)> CommandsList; - public CommandsManager(DiscordClient dicordClient) : base(dicordClient) + public CommandsManager(DiscordClient dicordClient, OutputManager outputManager) : base(dicordClient, outputManager) { client = dicordClient; @@ -85,9 +84,12 @@ namespace DiscordCLI private readonly DiscordClient client; - public Commands(DiscordClient dicordClient) + private readonly OutputManager outputManager; + + public Commands(DiscordClient dicordClient, OutputManager outputMan) { client = dicordClient; + outputManager = outputMan; } protected void ListGuilds(string args) @@ -187,7 +189,7 @@ namespace DiscordCLI { try { - await Program.WriteMessage(message, textChannel, GlobalInformation.currentGuild); + await outputManager.WriteMessage(message, textChannel, GlobalInformation.currentGuild); } catch (Exception ex) { diff --git a/DiscordCLI/DiscordCLI.csproj.user b/DiscordCLI/DiscordCLI.csproj.user index 6ea29ba..2ff6c43 100644 --- a/DiscordCLI/DiscordCLI.csproj.user +++ b/DiscordCLI/DiscordCLI.csproj.user @@ -1,6 +1,6 @@  - <_LastSelectedProfileId>C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\Properties\PublishProfiles\Windows.pubxml + <_LastSelectedProfileId>C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\Properties\PublishProfiles\Linux-x64.pubxml \ No newline at end of file diff --git a/DiscordCLI/GlobalInformation.cs b/DiscordCLI/GlobalInformation.cs index 8add467..83d56e8 100644 --- a/DiscordCLI/GlobalInformation.cs +++ b/DiscordCLI/GlobalInformation.cs @@ -1,9 +1,4 @@ using DSharpPlus.Entities; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace DiscordCLI { @@ -11,6 +6,5 @@ namespace DiscordCLI { public static DiscordGuild currentGuild; public static DiscordChannel currentTextChannel; - public static int colorMode = 1; } } \ No newline at end of file diff --git a/DiscordCLI/InputManager.cs b/DiscordCLI/InputManager.cs new file mode 100644 index 0000000..7f35986 --- /dev/null +++ b/DiscordCLI/InputManager.cs @@ -0,0 +1,60 @@ +using DSharpPlus; +using System.Threading.Tasks; +using System; + +namespace DiscordCLI +{ + internal class InputManager + { + private readonly CommandsManager commandsManager; + private readonly DiscordClient client; + public string Input { get; private set; } = "<"; + + public InputManager(DiscordClient dicordClient, CommandsManager commandsMan) + { + client = dicordClient; + commandsManager = commandsMan; + } + + public async Task ReadInput() + { + await Task.Run(() => + { + bool exit = false; + while (!exit) + { + string infoString = $"\r[{client.CurrentUser.Username}#{client.CurrentUser.Discriminator}] [{GlobalInformation.currentGuild?.Name}/{GlobalInformation.currentTextChannel?.Name}] ==> "; + if (Input.StartsWith('<')) + Console.Write(Environment.NewLine + infoString); + + Input = string.Empty; + + ConsoleKeyInfo keyInfo; + do + { + keyInfo = Console.ReadKey(true); + if (!char.IsControl(keyInfo.KeyChar)) + Input += keyInfo.KeyChar.ToString(); + + if (keyInfo.Key == ConsoleKey.Backspace && Input.Length > 0) + { + Input = Input.Remove(Input.Length - 1); + } + + Console.Write(keyInfo.KeyChar); + if (keyInfo.Key == ConsoleKey.Backspace) + Console.Write(" "); + + Console.CursorLeft = infoString.Length + Input.Length - 1; + } while (keyInfo.Key != ConsoleKey.Enter); + + if (GlobalInformation.currentTextChannel == null && !Input.StartsWith('<')) + Input = "<" + Input; + + exit = commandsManager.CheckCommand(Input); + } + Environment.Exit(0); + }); + } + } +} \ No newline at end of file diff --git a/DiscordCLI/OutputManager.cs b/DiscordCLI/OutputManager.cs new file mode 100644 index 0000000..2e295a8 --- /dev/null +++ b/DiscordCLI/OutputManager.cs @@ -0,0 +1,183 @@ +using ColorMine.ColorSpaces.Comparisons; +using ColorMine.ColorSpaces; +using DSharpPlus.Entities; +using DSharpPlus; +using Stone_Red_Utilities.ColorConsole; +using System.Diagnostics; +using System.Drawing; +using System.Linq; +using System.Threading.Tasks; +using System; + +namespace DiscordCLI +{ + internal class OutputManager + { + private readonly DiscordClient client; + public InputManager InputManager { get; set; } + + public OutputManager(DiscordClient discordClient) + { + client = discordClient; + } + + public async Task WriteMessage(DiscordMessage message, DiscordChannel channel, DiscordGuild guild) + { + try + { + if (channel.Id != GlobalInformation.currentTextChannel?.Id) + return; + + DiscordUser user = message.Author; + DiscordMember discordMember = await guild.GetMemberAsync(user.Id); + DiscordColor discordColor = discordMember.Color; + + Color color = Color.FromArgb(discordColor.R, discordColor.G, discordColor.B); + + WriteTop($"[{discordMember.DisplayName}]", color, message, true, true, $"{discordMember.Username}#{discordMember.Discriminator} {message.Timestamp.LocalDateTime}"); + + if (!string.IsNullOrWhiteSpace(message.Content)) + WriteTop(message.Content, Color.White, message); + + foreach (DiscordAttachment attachment in message.Attachments) + { + WriteTop($"{attachment.Url}", Color.White, message, true, true, attachment.FileName); + } + + foreach (DiscordEmbed embed in message.Embeds) + { + if (!string.IsNullOrWhiteSpace(embed.Title)) + { + WriteTop(">>> ", Color.FromArgb(embed.Color.Value), message, true, false); + WriteTop($"{{{embed.Title}}}", Color.White, message, false); + } + + if (!string.IsNullOrWhiteSpace(embed.Description)) + { + WriteTop(">>> ", Color.FromArgb(embed.Color.Value), message, true, false); + WriteTop($"{embed.Description}", Color.White, message, false); + } + foreach (DiscordEmbedField field in embed.Fields) + { + WriteTop(">>> ", Color.FromArgb(embed.Color.Value), message, true, false); + WriteTop($"{field.Name}{Environment.NewLine}{field.Value}", Color.White, message, false); + } + //WriteTop($"{string.Join(Environment.NewLine, embed.Fields.Select(x => $"> {x.Name}{Environment.NewLine}{x.Value}"))}", Color.White, message); + } + } + catch (Exception ex) + { + Debug.WriteLine(ex); + } + + WriteTop(string.Empty, Color.White, message); + Console.Write($"[{client.CurrentUser.Username}#{client.CurrentUser.Discriminator}] [{GlobalInformation.currentGuild?.Name}/{GlobalInformation.currentTextChannel?.Name}] ==> "); + Console.Write(InputManager.Input); + } + + private void WriteTop(string message, Color color, DiscordMessage discordMessage, bool removeText = true, bool newLine = true, string info = null) + { + ConsoleColor consoleColor = ClosestConsoleColor(color); + + if (consoleColor == Console.BackgroundColor || consoleColor == ConsoleColor.DarkGray) + consoleColor = ConsoleColor.White; + + if (removeText) + Console.Write('\r' + new string(' ', Console.WindowWidth) + '\r'); + + string[] words = message.Split(' '); + for (int i = 0; i < words.Length; i++) + { + ConsoleColor mentionColor = ConsoleColor.Black; + + if (IsUri(words[i])) + { + mentionColor = ConsoleColor.DarkCyan; + } + + foreach (DiscordUser user in discordMessage.MentionedUsers) + { + if (user?.Mention is not null) + { + if (words[i].Contains(user.Mention)) + { + words[i] = words[i].Replace(user.Mention, $"@{user.Username}#{user.Discriminator}"); + mentionColor = ConsoleColor.Blue; + } + } + else + { + if (words[i].Contains("<@") && words[i].Contains('>')) + mentionColor = ConsoleColor.Blue; + } + } + + foreach (DiscordChannel channel in discordMessage.MentionedChannels) + { + if (channel?.Mention is not null) + if (words[i].Contains(channel.Mention)) + { + words[i] = words[i].Replace(channel.Mention, $"#{channel.Name}"); + mentionColor = ConsoleColor.Blue; + } + } + + foreach (DiscordRole role in discordMessage.MentionedRoles) + { + if (role?.Mention is not null) + if (words[i].Contains(role.Mention)) + { + words[i] = words[i].Replace(role.Mention, $"@{role.Name}"); + DiscordColor discordColor = role.Color; + mentionColor = ClosestConsoleColor(Color.FromArgb(discordColor.R, discordColor.G, discordColor.B)); + } + } + + ConsoleExt.Write(words[i] + " ", mentionColor == ConsoleColor.Black ? consoleColor : mentionColor); + } + + ConsoleExt.Write(info, ConsoleColor.DarkGray); + + if (newLine) + Console.WriteLine(); + } + + private bool IsUri(string input) + { + return Uri.TryCreate(input, UriKind.Absolute, out Uri uriResult) && (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps); + } + + private ConsoleColor ClosestConsoleColor(Color targetColor) + { + double minDif = double.MaxValue; + ConsoleColor bestColor = ConsoleColor.White; + + foreach (ConsoleColor consoleColor in Enum.GetValues(typeof(ConsoleColor))) + { + Color color = Color.FromName(consoleColor.ToString()); + + var colorA = new Rgb + { + R = targetColor.R, + G = targetColor.G, + B = targetColor.B + }; + + var colorB = new Rgb + { + R = color.R, + G = color.G, + B = color.B + }; + double diff = colorA.Compare(colorB, new Cie1976Comparison()); + + if (diff < minDif) + { + minDif = diff; + bestColor = consoleColor; + } + } + return bestColor; + } + } +} \ No newline at end of file diff --git a/DiscordCLI/Program.cs b/DiscordCLI/Program.cs index 9ae780d..d5ad61d 100644 --- a/DiscordCLI/Program.cs +++ b/DiscordCLI/Program.cs @@ -1,15 +1,8 @@ -using ColorMine.ColorSpaces; -using ColorMine.ColorSpaces.Comparisons; -using DSharpPlus; -using DSharpPlus.Entities; +using DSharpPlus; using Stone_Red_Utilities.ColorConsole; -using System; -using System.Diagnostics; using System.IO; -using System.Linq; using System.Threading.Tasks; - -using Color = System.Drawing.Color; +using System; namespace DiscordCLI { @@ -18,10 +11,11 @@ namespace DiscordCLI public static void Main(string[] args) => new Program().MainAsync().GetAwaiter().GetResult(); - private static DiscordClient client; + private DiscordClient client; + private InputManager inputManager; + private OutputManager outputManager; private CommandsManager commandsManager; - private static string input = "<"; public const string tokenPath = "token.txt"; public async Task MainAsync() @@ -46,7 +40,7 @@ namespace DiscordCLI client = new DiscordClient(new DiscordConfiguration() { Token = token, - TokenType = TokenType.User + TokenType = TokenType.User, }); client.MessageCreated += Client_MessageCreated; @@ -62,186 +56,17 @@ namespace DiscordCLI return; } - commandsManager = new CommandsManager(client); + outputManager = new OutputManager(client); + commandsManager = new CommandsManager(client, outputManager); + inputManager = new InputManager(client, commandsManager); + outputManager.InputManager = inputManager; - await ReadInput(); - await Task.Delay(-1); + await inputManager.ReadInput(); } private async Task Client_MessageCreated(DSharpPlus.EventArgs.MessageCreateEventArgs e) { - await WriteMessage(e.Message, e.Channel, e.Guild); - } - - public static async Task WriteMessage(DiscordMessage message, DiscordChannel channel, DiscordGuild guild) - { - try - { - if (channel.Id != GlobalInformation.currentTextChannel?.Id) - return; - DiscordUser user = message.Author; - DiscordMember discordMember = await guild.GetMemberAsync(user.Id); - DiscordColor discordColor = discordMember.Color; - - Color color = Color.FromArgb(discordColor.R, discordColor.G, discordColor.B); - - WriteTop($"[{discordMember.DisplayName}]", color, message, $"{discordMember.Username}#{discordMember.Discriminator} {message.Timestamp.LocalDateTime}"); - - if (!string.IsNullOrWhiteSpace(message.Content)) - WriteTop(message.Content, Color.White, message); - - foreach (DiscordAttachment attachment in message.Attachments) - { - WriteTop($"{attachment.Url}", Color.White, message, attachment.FileName); - } - foreach (DiscordEmbed embed in message.Embeds) - { - if (!string.IsNullOrWhiteSpace(embed.Title)) - WriteTop($">>> {{{embed.Title}}}", Color.FromArgb(embed.Color.Value), message); - - if (!string.IsNullOrWhiteSpace(embed.Description)) - WriteTop($">> {embed.Description}", Color.White, message); - - WriteTop($"{string.Join(Environment.NewLine, embed.Fields.Select(x => $">{x.Name}{Environment.NewLine}{x.Value}"))}", Color.White, message); - } - } - catch (Exception ex) - { - Debug.WriteLine(ex); - } - - WriteTop(string.Empty, Color.White, message); - Console.Write($"[{client.CurrentUser.Username}#{client.CurrentUser.Discriminator}] [{GlobalInformation.currentGuild?.Name}/{GlobalInformation.currentTextChannel?.Name}] ==> "); - Console.Write(input); - } - - private async Task ReadInput() - { - await Task.Run(() => - { - bool exit = false; - while (!exit) - { - string infoString = $"\r[{client.CurrentUser.Username}#{client.CurrentUser.Discriminator}] [{GlobalInformation.currentGuild?.Name}/{GlobalInformation.currentTextChannel?.Name}] ==> "; - if (input.StartsWith('<')) - Console.Write(Environment.NewLine + infoString); - - input = string.Empty; - - ConsoleKeyInfo keyInfo; - do - { - keyInfo = Console.ReadKey(true); - if (!char.IsControl(keyInfo.KeyChar)) - input += keyInfo.KeyChar.ToString(); - - if (keyInfo.Key == ConsoleKey.Backspace) - { - if (input.Length > 0) - { - input = input.Remove(input.Length - 1); - } - } - - Console.Write(keyInfo.KeyChar); - if (keyInfo.Key == ConsoleKey.Backspace) - Console.Write(" "); - - Console.CursorLeft = infoString.Length + input.Length - 1; - } while (keyInfo.Key != ConsoleKey.Enter); - - if (GlobalInformation.currentTextChannel == null && !input.StartsWith('<')) - input = "<" + input; - - exit = commandsManager.CheckCommand(input); - } - Environment.Exit(0); - }); - } - - private static void WriteTop(string message, Color color, DiscordMessage discordMessage, string info = null) - { - ConsoleColor consoleColor = ClosestConsoleColor3(color); - - if (consoleColor == Console.BackgroundColor || consoleColor == ConsoleColor.DarkGray) - consoleColor = ConsoleColor.White; - - //Console.SetCursorPosition(0, Console.WindowTop + Console.WindowHeight - 1); - - Console.Write('\r' + new string(' ', Console.WindowWidth) + '\r'); - - string[] words = message.Split(' '); - for (int i = 0; i < words.Length; i++) - { - ConsoleColor mentionColor = ConsoleColor.Black; - foreach (DiscordUser user in discordMessage.MentionedUsers) - { - if (user?.Mention is not null) - if (words[i].Contains(user.Mention)) - { - words[i] = words[i].Replace(user.Mention, $"@{user.Username}#{user.Discriminator}"); - mentionColor = ConsoleColor.Blue; - } - } - - foreach (DiscordChannel channel in discordMessage.MentionedChannels) - { - if (channel?.Mention is not null) - if (words[i].Contains(channel.Mention)) - { - words[i] = words[i].Replace(channel.Mention, $"#{channel.Name}"); - mentionColor = ConsoleColor.Blue; - } - } - - foreach (DiscordRole role in discordMessage.MentionedRoles) - { - if (role?.Mention is not null) - if (words[i].Contains(role.Mention)) - { - words[i] = words[i].Replace(role.Mention, $"@{role.Name}"); - DiscordColor discordColor = role.Color; - mentionColor = ClosestConsoleColor3(Color.FromArgb(discordColor.R, discordColor.G, discordColor.B)); - } - } - - ConsoleExt.Write(words[i] + " ", mentionColor == ConsoleColor.Black ? consoleColor : mentionColor); - } - - ConsoleExt.WriteLine(" " + info, ConsoleColor.DarkGray); - } - - public static ConsoleColor ClosestConsoleColor3(Color targetColor) - { - double minDif = double.MaxValue; - ConsoleColor bestColor = ConsoleColor.White; - - foreach (ConsoleColor consoleColor in Enum.GetValues(typeof(ConsoleColor))) - { - Color color = Color.FromName(consoleColor.ToString()); - - var colorA = new Rgb - { - R = targetColor.R, - G = targetColor.G, - B = targetColor.B - }; - - var colorB = new Rgb - { - R = color.R, - G = color.G, - B = color.B - }; - double diff = colorA.Compare(colorB, new Cie1976Comparison()); - - if (diff < minDif) - { - minDif = diff; - bestColor = consoleColor; - } - } - return bestColor; + await outputManager.WriteMessage(e.Message, e.Channel, e.Guild); } } } \ No newline at end of file diff --git a/DiscordCLI/Properties/PublishProfiles/FolderProfile.pubxml b/DiscordCLI/Properties/PublishProfiles/Linux-x64.pubxml similarity index 100% rename from DiscordCLI/Properties/PublishProfiles/FolderProfile.pubxml rename to DiscordCLI/Properties/PublishProfiles/Linux-x64.pubxml diff --git a/DiscordCLI/Properties/PublishProfiles/FolderProfile.pubxml.user b/DiscordCLI/Properties/PublishProfiles/Linux-x64.pubxml.user similarity index 100% rename from DiscordCLI/Properties/PublishProfiles/FolderProfile.pubxml.user rename to DiscordCLI/Properties/PublishProfiles/Linux-x64.pubxml.user diff --git a/DiscordCLI/bin/Debug/net5.0/DiscordCLI.dll b/DiscordCLI/bin/Debug/net5.0/DiscordCLI.dll index 36f26d6..62a0245 100644 Binary files a/DiscordCLI/bin/Debug/net5.0/DiscordCLI.dll and b/DiscordCLI/bin/Debug/net5.0/DiscordCLI.dll differ diff --git a/DiscordCLI/bin/Debug/net5.0/DiscordCLI.pdb b/DiscordCLI/bin/Debug/net5.0/DiscordCLI.pdb index 78ab08a..7ebf9ad 100644 Binary files a/DiscordCLI/bin/Debug/net5.0/DiscordCLI.pdb and b/DiscordCLI/bin/Debug/net5.0/DiscordCLI.pdb differ diff --git a/DiscordCLI/bin/Debug/net5.0/ref/DiscordCLI.dll b/DiscordCLI/bin/Debug/net5.0/ref/DiscordCLI.dll index 7575946..59d223b 100644 Binary files a/DiscordCLI/bin/Debug/net5.0/ref/DiscordCLI.dll and b/DiscordCLI/bin/Debug/net5.0/ref/DiscordCLI.dll differ diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/ColorMineStandard.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/ColorMineStandard.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/ColorMineStandard.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/ColorMineStandard.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/DSharpPlus.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DSharpPlus.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/DSharpPlus.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DSharpPlus.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.deps.json b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.deps.json similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.deps.json rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.deps.json diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.exe b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.exe similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.exe rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.exe diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.pdb b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.pdb similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.pdb rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.pdb diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.runtimeconfig.json b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.runtimeconfig.json similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/DiscordCLI.runtimeconfig.json rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/DiscordCLI.runtimeconfig.json diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/Newtonsoft.Json.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/Newtonsoft.Json.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/Newtonsoft.Json.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/Newtonsoft.Json.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI/Stone_Red-C-Sharp-Utilities.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/Stone_Red-C-Sharp-Utilities.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI/Stone_Red-C-Sharp-Utilities.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI/Stone_Red-C-Sharp-Utilities.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/ColorMineStandard.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/ColorMineStandard.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/ColorMineStandard.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/ColorMineStandard.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DSharpPlus.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DSharpPlus.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DSharpPlus.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DSharpPlus.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.deps.json b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.deps.json similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.deps.json rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.deps.json diff --git a/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.dll new file mode 100644 index 0000000..49039f7 Binary files /dev/null and b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.dll differ diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.pdb b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.pdb similarity index 74% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.pdb rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.pdb index 76280cf..c869697 100644 Binary files a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.pdb and b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.pdb differ diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.dev.json b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.dev.json similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.dev.json rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.dev.json diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.json b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.json similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.json rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/DiscordCLI.runtimeconfig.json diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/Newtonsoft.Json.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/Newtonsoft.Json.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/Newtonsoft.Json.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/Newtonsoft.Json.dll diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/Stone_Red-C-Sharp-Utilities.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/Stone_Red-C-Sharp-Utilities.dll similarity index 100% rename from DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/Stone_Red-C-Sharp-Utilities.dll rename to DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/Stone_Red-C-Sharp-Utilities.dll diff --git a/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/ref/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/ref/DiscordCLI.dll new file mode 100644 index 0000000..fbb566b Binary files /dev/null and b/DiscordCLI/bin/Release/net5.0/(Release) DiscordCLI_linux-x64/ref/DiscordCLI.dll differ diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/DiscordCLI.dll index 7e2a40f..c47f4ea 100644 Binary files a/DiscordCLI/bin/Release/net5.0/DiscordCLI.dll and b/DiscordCLI/bin/Release/net5.0/DiscordCLI.dll differ diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI.pdb b/DiscordCLI/bin/Release/net5.0/DiscordCLI.pdb index 9ceaed9..44dd3a0 100644 Binary files a/DiscordCLI/bin/Release/net5.0/DiscordCLI.pdb and b/DiscordCLI/bin/Release/net5.0/DiscordCLI.pdb differ diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.dll deleted file mode 100644 index 6d9e8cd..0000000 Binary files a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/DiscordCLI.dll and /dev/null differ diff --git a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/ref/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/ref/DiscordCLI.dll deleted file mode 100644 index e0a07d7..0000000 Binary files a/DiscordCLI/bin/Release/net5.0/DiscordCLI_linux-x64/ref/DiscordCLI.dll and /dev/null differ diff --git a/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.dll index 6d9e8cd..49039f7 100644 Binary files a/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.dll and b/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.dll differ diff --git a/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.pdb b/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.pdb index 76280cf..c869697 100644 Binary files a/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.pdb and b/DiscordCLI/bin/Release/net5.0/linux-x64/DiscordCLI.pdb differ diff --git a/DiscordCLI/bin/Release/net5.0/linux-x64/ref/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/linux-x64/ref/DiscordCLI.dll index e0a07d7..fbb566b 100644 Binary files a/DiscordCLI/bin/Release/net5.0/linux-x64/ref/DiscordCLI.dll and b/DiscordCLI/bin/Release/net5.0/linux-x64/ref/DiscordCLI.dll differ diff --git a/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI b/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI index 4083db8..5166a42 100644 Binary files a/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI and b/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI differ diff --git a/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI.pdb b/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI.pdb index 9ceaed9..c869697 100644 Binary files a/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI.pdb and b/DiscordCLI/bin/Release/net5.0/publish/DiscordCLI.pdb differ diff --git a/DiscordCLI/bin/Release/net5.0/ref/DiscordCLI.dll b/DiscordCLI/bin/Release/net5.0/ref/DiscordCLI.dll index e799a6c..62c57a6 100644 Binary files a/DiscordCLI/bin/Release/net5.0/ref/DiscordCLI.dll and b/DiscordCLI/bin/Release/net5.0/ref/DiscordCLI.dll differ diff --git a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csproj.CoreCompileInputs.cache b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csproj.CoreCompileInputs.cache index 2f9a7ed..dd15113 100644 --- a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csproj.CoreCompileInputs.cache +++ b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -dfd104565a5c51e51c96fc2a0f9e9b9515e39127 +c330ac1ec415f28e8dfa881f69ac743ee03b156f diff --git a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csprojAssemblyReference.cache b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csprojAssemblyReference.cache index 50fbe1a..8922593 100644 Binary files a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csprojAssemblyReference.cache and b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.csprojAssemblyReference.cache differ diff --git a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.dll b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.dll index 36f26d6..62a0245 100644 Binary files a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.dll and b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.dll differ diff --git a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.pdb b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.pdb index 78ab08a..7ebf9ad 100644 Binary files a/DiscordCLI/obj/Debug/net5.0/DiscordCLI.pdb and b/DiscordCLI/obj/Debug/net5.0/DiscordCLI.pdb differ diff --git a/DiscordCLI/obj/Debug/net5.0/ref/DiscordCLI.dll b/DiscordCLI/obj/Debug/net5.0/ref/DiscordCLI.dll index 7575946..59d223b 100644 Binary files a/DiscordCLI/obj/Debug/net5.0/ref/DiscordCLI.dll and b/DiscordCLI/obj/Debug/net5.0/ref/DiscordCLI.dll differ diff --git a/DiscordCLI/obj/Release/net5.0/DiscordCLI.dll b/DiscordCLI/obj/Release/net5.0/DiscordCLI.dll index 7e2a40f..c47f4ea 100644 Binary files a/DiscordCLI/obj/Release/net5.0/DiscordCLI.dll and b/DiscordCLI/obj/Release/net5.0/DiscordCLI.dll differ diff --git a/DiscordCLI/obj/Release/net5.0/DiscordCLI.pdb b/DiscordCLI/obj/Release/net5.0/DiscordCLI.pdb index 9ceaed9..44dd3a0 100644 Binary files a/DiscordCLI/obj/Release/net5.0/DiscordCLI.pdb and b/DiscordCLI/obj/Release/net5.0/DiscordCLI.pdb differ diff --git a/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.dll b/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.dll index 6d9e8cd..49039f7 100644 Binary files a/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.dll and b/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.dll differ diff --git a/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.pdb b/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.pdb index 76280cf..c869697 100644 Binary files a/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.pdb and b/DiscordCLI/obj/Release/net5.0/linux-x64/DiscordCLI.pdb differ diff --git a/DiscordCLI/obj/Release/net5.0/linux-x64/ref/DiscordCLI.dll b/DiscordCLI/obj/Release/net5.0/linux-x64/ref/DiscordCLI.dll index e0a07d7..fbb566b 100644 Binary files a/DiscordCLI/obj/Release/net5.0/linux-x64/ref/DiscordCLI.dll and b/DiscordCLI/obj/Release/net5.0/linux-x64/ref/DiscordCLI.dll differ diff --git a/DiscordCLI/obj/Release/net5.0/ref/DiscordCLI.dll b/DiscordCLI/obj/Release/net5.0/ref/DiscordCLI.dll index e799a6c..62c57a6 100644 Binary files a/DiscordCLI/obj/Release/net5.0/ref/DiscordCLI.dll and b/DiscordCLI/obj/Release/net5.0/ref/DiscordCLI.dll differ