Fixed mention higlighting and channels are now correctly sorted by chategory.

This commit is contained in:
Stone-Red-Code
2021-08-01 17:18:26 +02:00
parent d162cc0056
commit a1609916c2
46 changed files with 202 additions and 141 deletions
Binary file not shown.
Binary file not shown.
+27 -14
View File
@@ -47,7 +47,7 @@ namespace DiscordCLI
protected async Task ListGuildChannels(string args)
{
IReadOnlyCollection<DiscordChannel> textChannels;
IReadOnlyCollection<DiscordChannel> discordChannels;
DiscordGuild guild;
if (args != null)
@@ -75,21 +75,28 @@ namespace DiscordCLI
}
GlobalInformation.currentGuild = guild;
textChannels = guild.Channels;
discordChannels = guild.Channels;
int index = 1;
foreach (DiscordChannel channel in textChannels)
int index = 0;
foreach (DiscordChannel channel in discordChannels.OrderBy(x => x.Position))
{
switch (channel.Type)
if (channel.Type == ChannelType.Category)
{
case ChannelType.Category:
//Console.WriteLine($"[{channel.Name}]");
break;
Console.WriteLine();
Console.WriteLine($"--- {channel.Name} ---");
foreach (DiscordChannel child in channel.Children.OrderBy(x => x.Position))
{
if (child.Type == ChannelType.Text)
{
index++;
case ChannelType.Text:
Console.WriteLine($"{index}. {channel.Name}");
index++;
break;
Console.WriteLine($"{index}. {child.Name}");
}
else
{
ConsoleExt.WriteLine($"-. {child.Name}", ConsoleColor.DarkGray);
}
}
}
}
@@ -108,11 +115,11 @@ namespace DiscordCLI
if (int.TryParse(args, out int ind))
{
textChannel = GlobalInformation.currentGuild?.Channels.Where(x => x.Type == ChannelType.Text).ElementAtOrDefault(ind - 1);
textChannel = GlobalInformation.currentGuild?.Channels.Where(x => x.Type == ChannelType.Text).OrderBy(x => x.Position).ElementAtOrDefault(ind - 1);
}
else
{
textChannel = GlobalInformation.currentGuild?.Channels.Where(x => x.Type == ChannelType.Text).FirstOrDefault(x => x.Name == args);
textChannel = GlobalInformation.currentGuild?.Channels.Where(x => x.Type == ChannelType.Text).OrderBy(x => x.Position).FirstOrDefault(x => x.Name == args);
}
GlobalInformation.currentTextChannel = textChannel;
@@ -129,6 +136,7 @@ namespace DiscordCLI
{
await outputManager.WriteMessage(message, textChannel, GlobalInformation.currentGuild, false);
}
Console.CursorTop--;
}
catch (Exception ex)
{
@@ -205,6 +213,11 @@ namespace DiscordCLI
discordUser = GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Username}#{user.Discriminator}".EqualsIgnoreSpacesAndCase(userName));
}
if (discordUser is null)
{
discordUser = GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Username}".EqualsIgnoreSpacesAndCase(userName));
}
if (discordUser is null)
{
discordUser = GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Nickname}".EqualsIgnoreSpacesAndCase(userName));
+10 -7
View File
@@ -51,6 +51,14 @@ namespace DiscordCLI
/// <returns>exit bool and write override bool</returns>
public async Task<(bool, bool)> CheckCommand(string rawInput)
{
string input = rawInput.Trim().ToLower().Replace('\n', '\0');
if (string.IsNullOrWhiteSpace(input.StartsWith(InputManager.Prefix) ? input.Remove(0, 1) : input))
{
Console.CursorTop--;
return (false, false);
}
cooldown++;
if (cooldown > 1)
@@ -61,12 +69,7 @@ namespace DiscordCLI
return (false, true);
}
string input = rawInput.Trim().ToLower().Replace('\n', '\0');
if (string.IsNullOrWhiteSpace(input))
return (false, false);
if (input.StartsWith(InputManager.prefix))
if (input.StartsWith(InputManager.Prefix))
{
input = input.Remove(0, 1);
}
@@ -88,7 +91,7 @@ namespace DiscordCLI
if (input == "help" || input == "?")
{
Console.WriteLine($"Prefix: '{InputManager.prefix}' (Only required in text channels)");
Console.WriteLine($"Prefix: '{InputManager.Prefix}' (Only required in text channels)");
Console.WriteLine();
for (int i = 0; i < CommandsList.Count; i++)
+5 -5
View File
@@ -12,7 +12,7 @@ namespace DiscordCLI
private readonly CommandsManager commandsManager;
private readonly DiscordClient client;
private readonly List<string> previousInputs = new List<string>();
public const string prefix = ">";
public const string Prefix = ">";
public string Input { get; private set; } = string.Empty;
public InputManager(DiscordClient dicordClient, CommandsManager commandsMan)
@@ -26,12 +26,12 @@ namespace DiscordCLI
int inputListIndex = 0;
bool exit = false;
bool printOverride = false;
string lastInput = prefix;
string lastInput = Prefix;
while (!exit)
{
DiscordDmChannel dmChannel = GlobalInformation.currentTextChannel as DiscordDmChannel;
string infoString = $"\r[{client.CurrentUser.Username}#{client.CurrentUser.Discriminator}] [{(dmChannel is null ? GlobalInformation.currentGuild?.Name : "DMs")}/{(dmChannel is null ? GlobalInformation.currentTextChannel?.Name : string.Join(", ", dmChannel.Recipients.Select(x => x.Username)))}] ==> ";
if (lastInput.StartsWith(prefix) || printOverride)
if (lastInput.StartsWith(Prefix) || printOverride)
Console.Write(Environment.NewLine + infoString);
printOverride = false;
@@ -75,7 +75,7 @@ namespace DiscordCLI
Console.CursorLeft = infoString.Length + Input.Length - 1;
} while (keyInfo.Key != ConsoleKey.Enter);
if (GlobalInformation.currentTextChannel == null && !Input.StartsWith(prefix))
if (GlobalInformation.currentTextChannel == null && !Input.StartsWith(Prefix))
{
if (previousInputs.Count > 10)
previousInputs.RemoveAt(0);
@@ -83,7 +83,7 @@ namespace DiscordCLI
if (previousInputs.Count == 0 || previousInputs[previousInputs.Count - 1] != Input)
previousInputs.Add(new string(Input));
Input = prefix + Input;
Input = Prefix + Input;
}
inputListIndex = 0;
+74 -80
View File
@@ -9,6 +9,7 @@ using System.Linq;
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace DiscordCLI
{
@@ -26,7 +27,7 @@ namespace DiscordCLI
{
try
{
if (channel.Id != GlobalInformation.currentTextChannel?.Id)
if (channel?.Id != GlobalInformation.currentTextChannel?.Id)
return;
DiscordUser user = message.Author;
@@ -94,110 +95,103 @@ namespace DiscordCLI
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');
List<string> words = message.Replace("\n", " %<newLine>%").Split(' ').ToList();
for (int i = 0; i < words.Count; i++)
foreach (Match match in Regex.Matches(message, "<@(.*?)>"))
{
ConsoleColor mentionColor = ConsoleColor.Black;
if (IsUri(words[i]))
{
mentionColor = ConsoleColor.DarkCyan;
}
if (words[i].Contains("<") && words[i].Contains(">") && !(words[i].StartsWith("<") && words[i].EndsWith(">")))
{
int index1 = words[i].IndexOf("<");
int index2 = words[i].IndexOf(">");
if (index1 < index2)
{
string part1 = words[i].Substring(0, index1);
string part2 = words[i].Substring(index1, index2 - index1 + 1);
string part3 = words[i].Substring(index2 + 1, words[i].Length - index2 - 1);
words[i] = part2;
if (!string.IsNullOrEmpty(part1))
{
words.Insert(i, part1);
}
if (!string.IsNullOrEmpty(part3))
{
words.Insert(i + (string.IsNullOrEmpty(part1) ? 1 : 2), part3);
}
}
}
foreach (DiscordUser user in discordMessage.MentionedUsers)
{
if (user?.Mention is not null)
{
if (words[i].Contains(user.Mention))
if (match.Value == user.Mention)
{
words[i] = words[i].Replace(user.Mention, $"@{user.Username}#{user.Discriminator}");
mentionColor = ConsoleColor.Blue;
message = message.Replace(match.Value, $"\0<C{(int)ConsoleColor.Blue}C>@{user.Username}#{user.Discriminator}\0");
}
}
else
{
if (words[i].Contains("<@") && words[i].Contains('>'))
if (ulong.TryParse(match.Value.Replace("!", string.Empty).Replace("<@", string.Empty).Replace(">", string.Empty), out ulong id))
{
if (ulong.TryParse(words[i].Replace("!", string.Empty).Replace("<@", string.Empty).Replace(">", string.Empty), out ulong id))
{
DiscordUser discordUser = client.GetUserAsync(id).Result;
Console.WriteLine(discordUser is null);
DiscordUser discordUser = client.GetUserAsync(id).Result;
words[i] = words[i].Replace("<@!", "<@").Replace(discordUser.Mention, $"@{discordUser.Username}#{discordUser.Discriminator}");
mentionColor = ConsoleColor.Blue;
}
message = message.Replace(match.Value, $"\0<C{(int)ConsoleColor.Blue}C>@{discordUser.Username}#{discordUser.Discriminator}\0");
}
}
}
if (!discordMessage.Channel.IsPrivate)
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;
}
}
if (!discordMessage.Channel.IsPrivate)
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].Replace("%<newLine>%", "\n") + " ", mentionColor == ConsoleColor.Black ? consoleColor : mentionColor);
}
ConsoleExt.Write(info, ConsoleColor.DarkGray);
foreach (Match match in Regex.Matches(message, "<#(.*?)>"))
{
foreach (DiscordChannel channel in discordMessage.MentionedChannels)
{
if (channel?.Mention is not null)
{
if (match.Value == channel.Mention)
{
message = message.Replace(match.Value, $"\0<C{(int)ConsoleColor.Blue}C>#{channel.Name}\0");
}
}
else
{
if (ulong.TryParse(match.Value.Replace("<#", string.Empty).Replace(">", string.Empty), out ulong id))
{
DiscordChannel discordChannel = client.GetChannelAsync(id).Result;
message = message.Replace(match.Value, $"\0<C{(int)ConsoleColor.Blue}C>#{discordChannel.Name}\0");
}
}
}
}
foreach (Match match in Regex.Matches(message, @"<@&(.*?)>"))
{
foreach (DiscordRole role in discordMessage.MentionedRoles)
{
if (role?.Mention is not null)
{
if (match.Value == role.Mention)
{
DiscordColor discordColor = role.Color;
message = message.Replace(match.Value, $"\0<C{(int)ClosestConsoleColor(Color.FromArgb(discordColor.R, discordColor.G, discordColor.B))}C>@{role.Name}\0");
}
}
}
}
foreach (Match match in Regex.Matches(message, @"((https?)\://|www.)[A-Za-z0-9\.\-]+(/[A-Za-z0-9\?\&\=;\+!'\(\)\*\-\._~%]*)*", RegexOptions.IgnoreCase))
{
message = message.Replace(match.Value, $"\0<C{(int)ConsoleColor.Blue}C>{match.Value}\0");
}
foreach (string part in message.Split("\0"))
{
ConsoleColor consoleColor;
string messagePart = part;
string stringColor = Regex.Match(messagePart, "(?<=(<C))(.*)(?=C>)").Value;
bool succ = int.TryParse(stringColor, out int colorIndex);
if (succ && colorIndex >= 0 && colorIndex < 16)
{
messagePart = messagePart.Replace($"<C{stringColor}C>", string.Empty);
consoleColor = (ConsoleColor)colorIndex;
}
else
{
consoleColor = ClosestConsoleColor(color);
}
if (consoleColor == Console.BackgroundColor || consoleColor == ConsoleColor.DarkGray)
consoleColor = ConsoleColor.White;
ConsoleExt.Write(messagePart, consoleColor);
}
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;
+9 -1
View File
@@ -7,6 +7,7 @@ using Stone_Red_Utilities.ConsoleExtentions;
using System.Reflection;
using AlwaysUpToDate;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace DiscordCLI
{
@@ -115,7 +116,14 @@ namespace DiscordCLI
private async Task Client_MessageCreated(DSharpPlus.EventArgs.MessageCreateEventArgs e)
{
await outputManager.WriteMessage(e.Message, e.Channel, e.Guild);
try
{
await outputManager.WriteMessage(e.Message, e.Channel, e.Guild);
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
}
}
}
Binary file not shown.
@@ -8,7 +8,7 @@
".NETCoreApp,Version=v5.0": {
"DiscordCLI/0.0.4.0": {
"dependencies": {
"AlwaysUpToDate": "1.0.0.3",
"AlwaysUpToDate": "1.0.0.4",
"ColorMineStandard": "1.0.0",
"DSharpPlus": "3.2.3",
"Stone_Red-C-Sharp-Utilities": "1.0.2.1"
@@ -17,14 +17,14 @@
"DiscordCLI.dll": {}
}
},
"AlwaysUpToDate/1.0.0.3": {
"AlwaysUpToDate/1.0.0.4": {
"dependencies": {
"System.Text.Json": "5.0.2"
},
"runtime": {
"lib/netstandard2.1/AlwaysUpToDate.dll": {
"assemblyVersion": "1.0.0.3",
"fileVersion": "1.0.0.3"
"assemblyVersion": "1.0.0.4",
"fileVersion": "1.0.0.4"
}
}
},
@@ -1018,12 +1018,12 @@
"serviceable": false,
"sha512": ""
},
"AlwaysUpToDate/1.0.0.3": {
"AlwaysUpToDate/1.0.0.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-vJCFkNoEa4cnf4Bck20k0DaPsLk1kgP8uH2B2dbOSpXv+kzVzLAaUsPWO1cm3Yo8bs3Z8JwG3J4xz4AcRzh3yg==",
"path": "alwaysuptodate/1.0.0.3",
"hashPath": "alwaysuptodate.1.0.0.3.nupkg.sha512"
"sha512": "sha512-A/9hqxN8bKsambpkv6klWlRNFZ4gt5bQeO0ciBSx/tYrD6guTU8KzNNdjuvKV7AEBTObbchbEpr+kbC1/JpqYA==",
"path": "alwaysuptodate/1.0.0.4",
"hashPath": "alwaysuptodate.1.0.0.4.nupkg.sha512"
},
"ColorMineStandard/1.0.0": {
"type": "package",
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,8 +3,7 @@
"additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
]
}
}
Binary file not shown.
@@ -6,7 +6,7 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"DiscordCLI/0.0.4.0": {
"DiscordCLI/0.0.4.1": {
"dependencies": {
"AlwaysUpToDate": "1.0.0.3",
"ColorMineStandard": "1.0.0",
@@ -1013,7 +1013,7 @@
}
},
"libraries": {
"DiscordCLI/0.0.4.0": {
"DiscordCLI/0.0.4.1": {
"type": "project",
"serviceable": false,
"sha512": ""
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,8 +3,7 @@
"additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
]
}
}
Binary file not shown.
@@ -3,7 +3,6 @@ build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = DiscordCLI
build_property.ProjectDir = C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
@@ -1 +1 @@
cbaf3c5b762f0a41704c9c99f67bfcfa1eaa46b2
6b2fcd6f6be795bf368acd9bea6af905c3230f40
@@ -42,3 +42,26 @@ C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\ne
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\AlwaysUpToDate.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\System.Text.Json.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.AssemblyReference.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.exe
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.deps.json
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.runtimeconfig.json
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.runtimeconfig.dev.json
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\ref\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.pdb
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\AlwaysUpToDate.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\ColorMineStandard.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DSharpPlus.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\Newtonsoft.Json.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\System.Text.Json.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.AssemblyReference.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.AssemblyInfoInputs.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.AssemblyInfo.cs
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.CoreCompileInputs.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.CopyComplete
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\ref\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.pdb
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.genruntimeconfig.cache
Binary file not shown.
@@ -1 +1 @@
7913be6fc5baee9a6c6e2d3d32160d2ff9b796ff
d067254352a01513ddeb2db7498953039a00bea6
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj": {}
"C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj": {}
},
"projects": {
"C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj": {
"C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj": {
"version": "0.0.4",
"restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"projectUniqueName": "C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"projectName": "DiscordCLI",
"projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"projectPath": "C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"packagesPath": "C:\\Users\\David\\.nuget\\packages\\",
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\obj\\",
"outputPath": "C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@@ -77,7 +77,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.302\\RuntimeIdentifierGraph.json"
}
}
}
@@ -1 +1 @@
cf150e1bfaf277cbd1170fe306a9139e981a800b
ed9130b67c2b63ef0a7cb8447f7834e4b127bd4e
@@ -42,3 +42,26 @@ C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\System.Text.Json.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.csproj.CopyComplete
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.genruntimeconfig.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\DiscordCLI.exe
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\DiscordCLI.deps.json
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\DiscordCLI.runtimeconfig.json
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\DiscordCLI.runtimeconfig.dev.json
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\ref\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\DiscordCLI.pdb
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\AlwaysUpToDate.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\ColorMineStandard.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\DSharpPlus.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\Newtonsoft.Json.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\System.Text.Json.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.csproj.AssemblyReference.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.AssemblyInfoInputs.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.AssemblyInfo.cs
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.csproj.CoreCompileInputs.cache
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.csproj.CopyComplete
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\ref\DiscordCLI.dll
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.pdb
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Release\net5.0\DiscordCLI.genruntimeconfig.cache
Binary file not shown.
@@ -1 +1 @@
7913be6fc5baee9a6c6e2d3d32160d2ff9b796ff
d067254352a01513ddeb2db7498953039a00bea6
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -4
View File
@@ -5938,11 +5938,11 @@
"project": {
"version": "0.0.4",
"restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"projectUniqueName": "C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"projectName": "DiscordCLI",
"projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"projectPath": "C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"packagesPath": "C:\\Users\\David\\.nuget\\packages\\",
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\obj\\",
"outputPath": "C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@@ -6008,7 +6008,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.302\\RuntimeIdentifierGraph.json"
}
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "mc7SwpLyhpdRHTq1AENnS/a2CtBHM0jUjPTEQoOhb2FZ14eZmHTEW5OgCjuy+XKdTzktXR/1/aacOY8y3NijuQ==",
"dgSpecHash": "UlTKwHDcC1nF5xjNTUuoUXtf5qZoxfx+vAbykvwX/WniUmngzJ301ZuAxl8Tk3pWkWRejwwLVBJF5PDdN74unQ==",
"success": true,
"projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"projectFilePath": "C:\\Users\\David\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
"expectedPackageFiles": [
"C:\\Users\\David\\.nuget\\packages\\alwaysuptodate\\1.0.0.4\\alwaysuptodate.1.0.0.4.nupkg.sha512",
"C:\\Users\\David\\.nuget\\packages\\colorminestandard\\1.0.0\\colorminestandard.1.0.0.nupkg.sha512",