14 Commits
Author SHA1 Message Date
Stone_Red 2b0765997a Update .gitignore 2021-08-06 21:46:23 +02:00
Stone-Red-Code 361859d2bc Remove debug files 2021-08-06 19:43:51 +02:00
Stone-Red-Code 881299c2d2 Preparation for the release of 0.0.5.0 step 2 2021-08-06 19:26:33 +02:00
Stone-Red-Code 4231256bfe Preparation for the release of 0.0.5.0 2021-08-06 19:25:52 +02:00
Stone-Red-Code 5bf354a22a Fixed update URL in update info path 2021-08-06 19:23:30 +02:00
Stone-Red-Code c7e4e89e17 Fixed version numbers in update info files 2021-08-06 19:19:00 +02:00
Stone-Red-Code 6186779115 Auto updater cross platform support test2 2021-08-06 19:17:21 +02:00
Stone-Red-Code 49d62348c8 Auto updater cross platform support test1 2021-08-06 18:57:20 +02:00
Stone-Red-Code db75f856ff Make userinfo command more reliable and some bug fixes 2021-08-03 23:05:43 +02:00
Stone-Red-Code 3d8d1d4709 Multiple bug fixes
Fixed:
URL detection regex
Application crashes when a message is sent in the read-only channel
Application does not exit correctly
2021-08-01 18:08:44 +02:00
Stone-Red-Code a1609916c2 Fixed mention higlighting and channels are now correctly sorted by chategory. 2021-08-01 17:18:26 +02:00
Stone-Red-Code d162cc0056 Updated AlwaysUpToDate to 1.0.04 2021-06-30 08:42:41 +02:00
Stone-Red-Code c63a480fe5 Added OnException Handler to the updater 2021-06-26 17:15:12 +02:00
Stone-Red-Code 45d5b51bab Cleanup 2021-06-18 08:59:26 +02:00
169 changed files with 12422 additions and 331 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
labels: ''
assignees: ''
---
@@ -20,7 +20,7 @@ Steps to reproduce the behavior:
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots/Videos**
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
+1 -1
View File
@@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
labels: ''
assignees: ''
---
+365 -1
View File
@@ -1 +1,365 @@
*.txt
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# DiscordCLI-specific files
token.txt
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
+1 -1
View File
@@ -15,7 +15,7 @@ I will update the above if anything changes!
1. [Download]("https://github.com/Stone-Red-Code/DiscordCLI/releases
) one of the releases
2. Execute the `DiscordCLI.exe` file (also works on Linux)
2. Execute the `DiscordCLI` file
3. Enter your [User Token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-a-user-token">)
4. Enter one of the commands below
Binary file not shown.
Binary file not shown.
Binary file not shown.
+57 -31
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;
@@ -127,8 +134,9 @@ namespace DiscordCLI
{
foreach (DiscordMessage message in (textChannel.GetMessagesAsync(10).Result).Reverse())
{
await outputManager.WriteMessage(message, textChannel, GlobalInformation.currentGuild, false);
await outputManager.WriteMessage(message, textChannel, false);
}
Console.CursorTop--;
}
catch (Exception ex)
{
@@ -166,12 +174,12 @@ namespace DiscordCLI
{
foreach (DiscordMessage message in (await dmChannel.GetMessagesAsync(10)).Reverse())
{
await outputManager.WriteMessage(message, dmChannel, GlobalInformation.currentGuild, false);
await outputManager.WriteMessage(message, dmChannel, false);
}
}
catch (Exception ex)
{
ConsoleExt.WriteLine(ex, ConsoleColor.Red);
ConsoleExt.WriteLine(ex.Message, ConsoleColor.Red);
GlobalInformation.currentTextChannel = null;
}
}
@@ -198,23 +206,25 @@ namespace DiscordCLI
return;
}
DiscordUser discordUser = GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => user.Username.EqualsIgnoreSpacesAndCase(userName));
DiscordUser discordUser = await GetDiscordUser(userName);
if (discordUser is null)
string status = discordUser?.Presence?.Status.ToString();
status ??= "N/A";
if (discordUser is DiscordMember discordMember)
{
discordUser = GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Username}#{user.Discriminator}".EqualsIgnoreSpacesAndCase(userName));
string infoString =
$"Username: {discordMember.Username}#{discordMember.Discriminator}" + Environment.NewLine +
$"Nickname: {discordMember.Nickname ?? "N/A"}" + Environment.NewLine +
$"Roles: {string.Join(", ", discordMember.Roles.Select(x => x.Name))}" + Environment.NewLine +
$"Status: {status}" + Environment.NewLine +
$"Created at: {discordMember.CreationTimestamp}" + Environment.NewLine +
$"ID: {discordMember.Id}" + Environment.NewLine +
$"Bot: {discordMember.IsBot}";
Console.WriteLine(infoString);
}
if (discordUser is null)
else if (discordUser is not null)
{
discordUser = GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Nickname}".EqualsIgnoreSpacesAndCase(userName));
}
if (discordUser is not null)
{
string status = discordUser.Presence?.Status.ToString();
status ??= "N/A";
string infoString =
$"Username: {discordUser.Username}#{discordUser.Discriminator}" + Environment.NewLine +
$"Status: {status}" + Environment.NewLine +
@@ -228,7 +238,23 @@ namespace DiscordCLI
ConsoleExt.WriteLine("User not found!", ConsoleColor.Red);
}
await Task.CompletedTask;
async Task<DiscordUser> GetDiscordUser(string name)
{
DiscordUser discordUser = GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => user.Username.EqualsIgnoreSpacesAndCase(userName));
discordUser ??= GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Username}#{user.Discriminator}".EqualsIgnoreSpacesAndCase(userName));
discordUser ??= GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Username}".EqualsIgnoreSpacesAndCase(userName));
discordUser ??= GlobalInformation.currentGuild?.Members?.FirstOrDefault(user => $"{user.Nickname}".EqualsIgnoreSpacesAndCase(userName));
if (discordUser is null)
{
IReadOnlyList<DiscordUser> users = await GlobalInformation.currentGuild.GetAllMembersAsync();
discordUser ??= users.FirstOrDefault(user => user.Username.EqualsIgnoreSpacesAndCase(userName));
discordUser ??= users.FirstOrDefault(user => $"{user.Username}#{user.Discriminator}".EqualsIgnoreSpacesAndCase(userName));
discordUser ??= users.FirstOrDefault(user => $"{user.Username}".EqualsIgnoreSpacesAndCase(userName));
}
return discordUser;
}
}
protected async Task Clear(string args)
+23 -10
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,21 +69,26 @@ 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);
}
else if (GlobalInformation.currentTextChannel != null)
{
cooldown++;
Console.Write("\r" + new string(' ', Console.WindowWidth));
await GlobalInformation.currentTextChannel.SendMessageAsync(rawInput);
return (false, false);
try
{
await GlobalInformation.currentTextChannel.SendMessageAsync(rawInput);
Console.CursorTop--;
Console.Write("\r" + new string(' ', Console.WindowWidth));
}
catch (Exception ex)
{
Console.WriteLine();
ConsoleExt.WriteLine(ex.Message, ConsoleColor.Red);
}
return (false, true);
}
Console.WriteLine();
@@ -88,7 +101,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++)
+4 -4
View File
@@ -3,13 +3,13 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<AssemblyVersion>0.0.4.1</AssemblyVersion>
<FileVersion>0.0.4.1</FileVersion>
<Version>0.0.4.1</Version>
<AssemblyVersion>0.0.5.0</AssemblyVersion>
<FileVersion>0.0.5.0</FileVersion>
<Version>0.0.5.0</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AlwaysUpToDate" Version="1.0.0.3" />
<PackageReference Include="AlwaysUpToDate" Version="1.0.0.4" />
<PackageReference Include="ColorMineStandard" Version="1.0.0" />
<PackageReference Include="DSharpPlus" Version="3.2.3" />
<PackageReference Include="Stone_Red-C-Sharp-Utilities" Version="1.0.2.1" />
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_LastSelectedProfileId>C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\Properties\PublishProfiles\DiscordCLI.pubxml</_LastSelectedProfileId>
<_LastSelectedProfileId>C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\Properties\PublishProfiles\Linux-ARM.pubxml</_LastSelectedProfileId>
</PropertyGroup>
</Project>
+12 -21
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)
@@ -21,24 +21,17 @@ namespace DiscordCLI
commandsManager = commandsMan;
}
private static IEnumerable<Enum> GetFlags(Enum input)
{
foreach (Enum value in Enum.GetValues(input.GetType()))
if (input.HasFlag(value))
yield return value;
}
public async Task ReadInput()
{
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;
@@ -50,33 +43,29 @@ namespace DiscordCLI
if (!char.IsControl(keyInfo.KeyChar))
Input += keyInfo.KeyChar.ToString();
System.Diagnostics.Debug.WriteLine(inputListIndex);
System.Diagnostics.Debug.WriteLine(previousInputs.Count - inputListIndex - 1);
if (keyInfo.KeyChar == (int)ConsoleKey.Backspace && Input.Length > 0)
if (keyInfo.Key == ConsoleKey.Backspace && Input.Length > 0)
{
Input = Input.Remove(Input.Length - 1);
}
else if (keyInfo.Key == ConsoleKey.UpArrow)
{
int previousLength = Input.Length;
if (previousInputs.Count > 0)
Input = previousInputs[previousInputs.Count - inputListIndex - 1];
if (inputListIndex < previousInputs.Count - 2)
if (inputListIndex < previousInputs.Count - 1)
inputListIndex++;
Console.CursorLeft = infoString.Length - 1;
Console.Write(Input + new string(' ', Math.Max(previousLength - Input.Length, 0)));
Console.Write(Input + new string(' ', Console.WindowWidth - infoString.Length - 1));
}
else if (keyInfo.Key == ConsoleKey.DownArrow)
{
int previousLength = Input.Length;
if (previousInputs.Count > 0)
Input = previousInputs[previousInputs.Count - inputListIndex - 1];
if (inputListIndex > 0)
inputListIndex--;
Console.CursorLeft = infoString.Length - 1;
Console.Write(Input + new string(' ', Math.Max(previousLength - Input.Length, 0)));
Console.Write(Input + new string(' ', Console.WindowWidth - infoString.Length - 1));
}
Console.Write(keyInfo.KeyChar);
@@ -86,15 +75,17 @@ 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 = Input.Trim();
if (!Input.StartsWith(Prefix))
Input = Prefix + Input;
if (previousInputs.Count > 10)
previousInputs.RemoveAt(0);
if (previousInputs.Count == 0 || previousInputs[previousInputs.Count - 1] != Input)
previousInputs.Add(new string(Input));
Input = prefix + Input;
}
inputListIndex = 0;
+75 -82
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
{
@@ -22,18 +23,18 @@ namespace DiscordCLI
client = discordClient;
}
public async Task WriteMessage(DiscordMessage message, DiscordChannel channel, DiscordGuild guild, bool writeInfo = true)
public async Task WriteMessage(DiscordMessage message, DiscordChannel channel, bool writeInfo = true)
{
try
{
if (channel.Id != GlobalInformation.currentTextChannel?.Id)
if (message.ChannelId != GlobalInformation.currentTextChannel?.Id)
return;
DiscordUser user = message.Author;
if (GlobalInformation.currentGuild is not null)
{
DiscordMember discordMember = await guild.GetMemberAsync(user.Id);
DiscordMember discordMember = await channel.Guild.GetMemberAsync(user.Id);
DiscordColor discordColor = discordMember.Color;
Color color = Color.FromArgb(discordColor.R, discordColor.G, discordColor.B);
@@ -94,110 +95,102 @@ 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.Replace("!", string.Empty))
{
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\.\-\&\#\?\/]*", 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;
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiscordCLI
{
internal enum PlatformType
{
Windows,
Linux,
LinuxARM
}
}
+47 -10
View File
@@ -4,8 +4,8 @@ using System.Threading.Tasks;
using System;
using DSharpPlus.Exceptions;
using Stone_Red_Utilities.ConsoleExtentions;
using System.Reflection;
using AlwaysUpToDate;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace DiscordCLI
@@ -18,12 +18,7 @@ namespace DiscordCLI
private CommandsManager commandsManager;
private InputManager inputManager;
private OutputManager outputManager;
#if DEBUG
private Updater updater = new Updater(new TimeSpan(0), "https://raw.githubusercontent.com/Stone-Red-Code/DiscordCLI/develop/update/updateInfo.json", "./", true);
#else
private Updater updater = new Updater(new TimeSpan(0), "https://raw.githubusercontent.com/Stone-Red-Code/DiscordCLI/main/update/updateInfo.json", "./", true);
#endif
private Updater updater;
public static void Main() => new Program().Setup().GetAwaiter().GetResult();
@@ -32,9 +27,37 @@ namespace DiscordCLI
Console.ForegroundColor = ConsoleColor.White;
Console.OutputEncoding = System.Text.Encoding.UTF8;
PlatformType platformType;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
if (RuntimeInformation.ProcessArchitecture == Architecture.Arm || RuntimeInformation.ProcessArchitecture == Architecture.Arm64)
{
platformType = PlatformType.LinuxARM;
}
else
{
platformType = PlatformType.Linux;
}
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
platformType = PlatformType.Windows;
}
else
{
throw new PlatformNotSupportedException("DiscordCLI only supports Windows and Linux!");
}
#if DEBUG
updater = new Updater(new TimeSpan(0), $"https://raw.githubusercontent.com/Stone-Red-Code/DiscordCLI/develop/update/updateInfo{platformType}.json", "./", true);
#else
updater = new Updater(new TimeSpan(0), $"https://raw.githubusercontent.com/Stone-Red-Code/DiscordCLI/main/update/updateInfo{platformType}.json", "./", true);
#endif
updater.UpdateAvailible += Updater_UpdateAvailible;
updater.NoUpdateAvailible += Updater_NoUpdateAvailible;
updater.ProgressChanged += Updater_ProgressChanged;
updater.OnException += Updater_OnException;
updater.Start();
await Task.Delay(-1);
@@ -62,7 +85,6 @@ namespace DiscordCLI
Token = token,
TokenType = TokenType.User,
});
client.MessageCreated += Client_MessageCreated;
await client.ConnectAsync();
@@ -87,6 +109,7 @@ namespace DiscordCLI
outputManager.InputManager = inputManager;
await inputManager.ReadInput();
Environment.Exit(0);
}
private async void Updater_NoUpdateAvailible()
@@ -97,7 +120,7 @@ namespace DiscordCLI
private void Updater_ProgressChanged(long? totalFileSize, long totalBytesDownloaded, double? progressPercentage)
{
Console.CursorLeft = 0;
ConsoleExt.WriteLine($"Downloading Update: {progressPercentage}% {totalBytesDownloaded}/{totalFileSize}", ConsoleColor.Yellow);
ConsoleExt.WriteLine($"Downloading update: {progressPercentage}% {totalBytesDownloaded}/{totalFileSize}", ConsoleColor.Yellow);
}
private void Updater_UpdateAvailible(string version, string additionalInformation)
@@ -106,9 +129,23 @@ namespace DiscordCLI
updater.Update();
}
private void Updater_OnException(Exception exception)
{
ConsoleExt.WriteLine("Update failed!", ConsoleColor.Red);
ConsoleExt.WriteLine(exception.Message, ConsoleColor.Red);
Environment.Exit(-1);
}
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);
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
}
}
}
@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<History>True|2021-05-31T17:23:33.4240354Z;True|2021-05-31T19:20:39.6710032+02:00;True|2021-05-29T18:25:28.6698849+02:00;True|2021-05-29T17:53:55.7039453+02:00;True|2021-05-29T17:07:22.9610987+02:00;True|2021-05-29T16:21:45.0240481+02:00;</History>
</PropertyGroup>
</Project>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net5.0\publish\Linux-ARM</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net5.0</TargetFramework>
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
</PropertyGroup>
</Project>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<History>True|2021-08-06T17:06:56.0342838Z;</History>
</PropertyGroup>
</Project>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net5.0\publish\Linux-x64</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net5.0</TargetFramework>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
</PropertyGroup>
</Project>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<History>True|2021-08-06T17:03:25.0377279Z;</History>
</PropertyGroup>
</Project>
@@ -6,7 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net5.0\publish\DiscordCLI</PublishDir>
<PublishDir>bin\Release\net5.0\publish\Windows</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net5.0</TargetFramework>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>
@@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<History>True|2021-05-27T05:49:47.3666888Z;True|2021-05-27T07:46:50.5745814+02:00;</History>
<History>True|2021-08-06T17:08:23.2338085Z;True|2021-08-06T19:06:28.4841484+02:00;True|2021-05-29T18:25:28.6698849+02:00;True|2021-05-29T17:53:55.7039453+02:00;True|2021-05-29T17:07:22.9610987+02:00;True|2021-05-29T16:21:45.0240481+02:00;</History>
</PropertyGroup>
</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6,9 +6,9 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"DiscordCLI/0.0.4.1": {
"DiscordCLI/0.0.5.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"
}
}
},
@@ -1013,17 +1013,17 @@
}
},
"libraries": {
"DiscordCLI/0.0.4.1": {
"DiscordCLI/0.0.5.0": {
"type": "project",
"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"
]
}
}
@@ -1,14 +1,15 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"name": ".NETCoreApp,Version=v5.0/linux-arm",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"DiscordCLI/0.0.4.1": {
".NETCoreApp,Version=v5.0": {},
".NETCoreApp,Version=v5.0/linux-arm": {
"DiscordCLI/0.0.5.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 +18,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"
}
}
},
@@ -77,7 +78,8 @@
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.unix.Microsoft.Win32.Primitives": "4.3.0"
}
},
"NETStandard.Library/1.6.1": {
@@ -144,6 +146,31 @@
}
}
},
"runtime.any.System.Collections/4.3.0": {
"dependencies": {
"System.Runtime": "4.3.0"
}
},
"runtime.any.System.Diagnostics.Tools/4.3.0": {},
"runtime.any.System.Diagnostics.Tracing/4.3.0": {},
"runtime.any.System.Globalization/4.3.0": {},
"runtime.any.System.Globalization.Calendars/4.3.0": {},
"runtime.any.System.IO/4.3.0": {},
"runtime.any.System.Reflection/4.3.0": {},
"runtime.any.System.Reflection.Extensions/4.3.0": {},
"runtime.any.System.Reflection.Primitives/4.3.0": {},
"runtime.any.System.Resources.ResourceManager/4.3.0": {},
"runtime.any.System.Runtime/4.3.0": {
"dependencies": {
"System.Private.Uri": "4.3.0"
}
},
"runtime.any.System.Runtime.Handles/4.3.0": {},
"runtime.any.System.Runtime.InteropServices/4.3.0": {},
"runtime.any.System.Text.Encoding/4.3.0": {},
"runtime.any.System.Text.Encoding.Extensions/4.3.0": {},
"runtime.any.System.Threading.Tasks/4.3.0": {},
"runtime.any.System.Threading.Timer/4.3.0": {},
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
@@ -198,6 +225,102 @@
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
"runtime.unix.Microsoft.Win32.Primitives/4.3.0": {
"dependencies": {
"System.Runtime": "4.3.0",
"System.Runtime.InteropServices": "4.3.0",
"runtime.native.System": "4.3.0"
}
},
"runtime.unix.System.Console/4.3.0": {
"dependencies": {
"System.Collections": "4.3.0",
"System.IO": "4.3.0",
"System.IO.FileSystem.Primitives": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"System.Runtime.InteropServices": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Text.Encoding.Extensions": "4.3.0",
"System.Threading": "4.3.0",
"System.Threading.Tasks": "4.3.0",
"runtime.native.System": "4.3.0"
}
},
"runtime.unix.System.Diagnostics.Debug/4.3.0": {
"dependencies": {
"runtime.native.System": "4.3.0"
}
},
"runtime.unix.System.IO.FileSystem/4.3.0": {
"dependencies": {
"System.Buffers": "4.3.0",
"System.Collections": "4.3.0",
"System.Diagnostics.Debug": "4.3.0",
"System.IO": "4.3.0",
"System.IO.FileSystem.Primitives": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"System.Runtime.InteropServices": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Text.Encoding.Extensions": "4.3.0",
"System.Threading": "4.3.0",
"System.Threading.Tasks": "4.3.0",
"runtime.native.System": "4.3.0"
}
},
"runtime.unix.System.Net.Primitives/4.3.0": {
"dependencies": {
"Microsoft.Win32.Primitives": "4.3.0",
"System.Collections": "4.3.0",
"System.Diagnostics.Tracing": "4.3.0",
"System.Globalization": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"System.Runtime.InteropServices": "4.3.0",
"System.Threading": "4.3.0",
"runtime.native.System": "4.3.0"
}
},
"runtime.unix.System.Net.Sockets/4.3.0": {
"dependencies": {
"System.Collections": "4.3.0",
"System.Diagnostics.Debug": "4.3.0",
"System.Diagnostics.Tracing": "4.3.0",
"System.Globalization": "4.3.0",
"System.IO": "4.3.0",
"System.IO.FileSystem": "4.3.0",
"System.Net.NameResolution": "4.3.0",
"System.Net.Primitives": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"System.Runtime.InteropServices": "4.3.0",
"System.Threading": "4.3.0",
"System.Threading.Tasks": "4.3.0",
"System.Threading.ThreadPool": "4.3.0",
"runtime.native.System": "4.3.0"
}
},
"runtime.unix.System.Private.Uri/4.3.0": {
"dependencies": {
"runtime.native.System": "4.3.0"
}
},
"runtime.unix.System.Runtime.Extensions/4.3.0": {
"dependencies": {
"System.Private.Uri": "4.3.0",
"runtime.native.System": "4.3.0",
"runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2"
}
},
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"runtime": {
"lib/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll": {
@@ -224,7 +347,8 @@
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Collections": "4.3.0"
}
},
"System.Collections.Concurrent/4.3.0": {
@@ -299,14 +423,16 @@
"Microsoft.NETCore.Targets": "1.1.0",
"System.IO": "4.3.0",
"System.Runtime": "4.3.0",
"System.Text.Encoding": "4.3.0"
"System.Text.Encoding": "4.3.0",
"runtime.unix.System.Console": "4.3.0"
}
},
"System.Diagnostics.Debug/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.unix.System.Diagnostics.Debug": "4.3.0"
}
},
"System.Diagnostics.DiagnosticSource/4.3.0": {
@@ -322,14 +448,16 @@
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Diagnostics.Tools": "4.3.0"
}
},
"System.Diagnostics.Tracing/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Diagnostics.Tracing": "4.3.0"
}
},
"System.Dynamic.Runtime/4.3.0": {
@@ -354,7 +482,8 @@
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Globalization": "4.3.0"
}
},
"System.Globalization.Calendars/4.3.0": {
@@ -362,7 +491,8 @@
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Globalization": "4.3.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Globalization.Calendars": "4.3.0"
}
},
"System.Globalization.Extensions/4.3.0": {
@@ -381,7 +511,8 @@
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Threading.Tasks": "4.3.0"
"System.Threading.Tasks": "4.3.0",
"runtime.any.System.IO": "4.3.0"
}
},
"System.IO.Compression/4.3.0": {
@@ -425,7 +556,8 @@
"System.Runtime": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Threading.Tasks": "4.3.0"
"System.Threading.Tasks": "4.3.0",
"runtime.unix.System.IO.FileSystem": "4.3.0"
}
},
"System.IO.FileSystem.Primitives/4.3.0": {
@@ -516,7 +648,8 @@
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"System.Runtime.Handles": "4.3.0"
"System.Runtime.Handles": "4.3.0",
"runtime.unix.System.Net.Primitives": "4.3.0"
}
},
"System.Net.Security/4.3.0": {
@@ -558,7 +691,8 @@
"System.IO": "4.3.0",
"System.Net.Primitives": "4.3.0",
"System.Runtime": "4.3.0",
"System.Threading.Tasks": "4.3.0"
"System.Threading.Tasks": "4.3.0",
"runtime.unix.System.Net.Sockets": "4.3.0"
}
},
"System.Net.WebHeaderCollection/4.3.0": {
@@ -616,13 +750,21 @@
"System.Threading": "4.3.0"
}
},
"System.Private.Uri/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"runtime.unix.System.Private.Uri": "4.3.0"
}
},
"System.Reflection/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.IO": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Reflection": "4.3.0"
}
},
"System.Reflection.Emit/4.3.0": {
@@ -654,14 +796,16 @@
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Reflection": "4.3.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Reflection.Extensions": "4.3.0"
}
},
"System.Reflection.Primitives/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Reflection.Primitives": "4.3.0"
}
},
"System.Reflection.TypeExtensions/4.3.0": {
@@ -676,27 +820,31 @@
"Microsoft.NETCore.Targets": "1.1.0",
"System.Globalization": "4.3.0",
"System.Reflection": "4.3.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Resources.ResourceManager": "4.3.0"
}
},
"System.Runtime/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0"
"Microsoft.NETCore.Targets": "1.1.0",
"runtime.any.System.Runtime": "4.3.0"
}
},
"System.Runtime.Extensions/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.unix.System.Runtime.Extensions": "4.3.0"
}
},
"System.Runtime.Handles/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Runtime.Handles": "4.3.0"
}
},
"System.Runtime.InteropServices/4.3.0": {
@@ -706,7 +854,8 @@
"System.Reflection": "4.3.0",
"System.Reflection.Primitives": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.Handles": "4.3.0"
"System.Runtime.Handles": "4.3.0",
"runtime.any.System.Runtime.InteropServices": "4.3.0"
}
},
"System.Runtime.InteropServices.RuntimeInformation/4.3.0": {
@@ -904,7 +1053,8 @@
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Text.Encoding": "4.3.0"
}
},
"System.Text.Encoding.Extensions/4.3.0": {
@@ -912,7 +1062,8 @@
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0",
"System.Text.Encoding": "4.3.0"
"System.Text.Encoding": "4.3.0",
"runtime.any.System.Text.Encoding.Extensions": "4.3.0"
}
},
"System.Text.Json/5.0.2": {
@@ -938,7 +1089,8 @@
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Threading.Tasks": "4.3.0"
}
},
"System.Threading.Tasks.Extensions/4.3.0": {
@@ -958,7 +1110,8 @@
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"System.Runtime": "4.3.0"
"System.Runtime": "4.3.0",
"runtime.any.System.Threading.Timer": "4.3.0"
}
},
"System.Xml.ReaderWriter/4.3.0": {
@@ -1013,17 +1166,17 @@
}
},
"libraries": {
"DiscordCLI/0.0.4.1": {
"DiscordCLI/0.0.5.0": {
"type": "project",
"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",
@@ -1081,6 +1234,125 @@
"path": "newtonsoft.json/10.0.3",
"hashPath": "newtonsoft.json.10.0.3.nupkg.sha512"
},
"runtime.any.System.Collections/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-23g6rqftKmovn2cLeGsuHUYm0FD7pdutb0uQMJpZ3qTvq+zHkgmt6J65VtRry4WDGYlmkMa4xDACtaQ94alNag==",
"path": "runtime.any.system.collections/4.3.0",
"hashPath": "runtime.any.system.collections.4.3.0.nupkg.sha512"
},
"runtime.any.System.Diagnostics.Tools/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-S/GPBmfPBB48ZghLxdDR7kDAJVAqgAuThyDJho3OLP5OS4tWD2ydyL8LKm8lhiBxce10OKe9X2zZ6DUjAqEbPg==",
"path": "runtime.any.system.diagnostics.tools/4.3.0",
"hashPath": "runtime.any.system.diagnostics.tools.4.3.0.nupkg.sha512"
},
"runtime.any.System.Diagnostics.Tracing/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1lpifymjGDzoYIaam6/Hyqf8GhBI3xXYLK2TgEvTtuZMorG3Kb9QnMTIKhLjJYXIiu1JvxjngHvtVFQQlpQ3HQ==",
"path": "runtime.any.system.diagnostics.tracing/4.3.0",
"hashPath": "runtime.any.system.diagnostics.tracing.4.3.0.nupkg.sha512"
},
"runtime.any.System.Globalization/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-sMDBnad4rp4t7GY442Jux0MCUuKL4otn5BK6Ni0ARTXTSpRNBzZ7hpMfKSvnVSED5kYJm96YOWsqV0JH0d2uuw==",
"path": "runtime.any.system.globalization/4.3.0",
"hashPath": "runtime.any.system.globalization.4.3.0.nupkg.sha512"
},
"runtime.any.System.Globalization.Calendars/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-M1r+760j1CNA6M/ZaW6KX8gOS8nxPRqloqDcJYVidRG566Ykwcs29AweZs2JF+nMOCgWDiMfPSTMfvwOI9F77w==",
"path": "runtime.any.system.globalization.calendars/4.3.0",
"hashPath": "runtime.any.system.globalization.calendars.4.3.0.nupkg.sha512"
},
"runtime.any.System.IO/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-SDZ5AD1DtyRoxYtEcqQ3HDlcrorMYXZeCt7ZhG9US9I5Vva+gpIWDGMkcwa5XiKL0ceQKRZIX2x0XEjLX7PDzQ==",
"path": "runtime.any.system.io/4.3.0",
"hashPath": "runtime.any.system.io.4.3.0.nupkg.sha512"
},
"runtime.any.System.Reflection/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hLC3A3rI8jipR5d9k7+f0MgRCW6texsAp0MWkN/ci18FMtQ9KH7E2vDn/DH2LkxsszlpJpOn9qy6Z6/69rH6eQ==",
"path": "runtime.any.system.reflection/4.3.0",
"hashPath": "runtime.any.system.reflection.4.3.0.nupkg.sha512"
},
"runtime.any.System.Reflection.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cPhT+Vqu52+cQQrDai/V91gubXUnDKNRvlBnH+hOgtGyHdC17aQIU64EaehwAQymd7kJA5rSrVRNfDYrbhnzyA==",
"path": "runtime.any.system.reflection.extensions/4.3.0",
"hashPath": "runtime.any.system.reflection.extensions.4.3.0.nupkg.sha512"
},
"runtime.any.System.Reflection.Primitives/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nrm1p3armp6TTf2xuvaa+jGTTmncALWFq22CpmwRvhDf6dE9ZmH40EbOswD4GnFLrMRS0Ki6Kx5aUPmKK/hZBg==",
"path": "runtime.any.system.reflection.primitives/4.3.0",
"hashPath": "runtime.any.system.reflection.primitives.4.3.0.nupkg.sha512"
},
"runtime.any.System.Resources.ResourceManager/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Lxb89SMvf8w9p9+keBLyL6H6x/TEmc6QVsIIA0T36IuyOY3kNvIdyGddA2qt35cRamzxF8K5p0Opq4G4HjNbhQ==",
"path": "runtime.any.system.resources.resourcemanager/4.3.0",
"hashPath": "runtime.any.system.resources.resourcemanager.4.3.0.nupkg.sha512"
},
"runtime.any.System.Runtime/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fRS7zJgaG9NkifaAxGGclDDoRn9HC7hXACl52Or06a/fxdzDajWb5wov3c6a+gVSlekRoexfjwQSK9sh5um5LQ==",
"path": "runtime.any.system.runtime/4.3.0",
"hashPath": "runtime.any.system.runtime.4.3.0.nupkg.sha512"
},
"runtime.any.System.Runtime.Handles/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-GG84X6vufoEzqx8PbeBKheE4srOhimv+yLtGb/JkR3Y2FmoqmueLNFU4Xx8Y67plFpltQSdK74x0qlEhIpv/CQ==",
"path": "runtime.any.system.runtime.handles/4.3.0",
"hashPath": "runtime.any.system.runtime.handles.4.3.0.nupkg.sha512"
},
"runtime.any.System.Runtime.InteropServices/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lBoFeQfxe/4eqjPi46E0LU/YaCMdNkQ8B4MZu/mkzdIAZh8RQ1NYZSj0egrQKdgdvlPFtP4STtob40r4o2DBAw==",
"path": "runtime.any.system.runtime.interopservices/4.3.0",
"hashPath": "runtime.any.system.runtime.interopservices.4.3.0.nupkg.sha512"
},
"runtime.any.System.Text.Encoding/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+ihI5VaXFCMVPJNstG4O4eo1CfbrByLxRrQQTqOTp1ttK0kUKDqOdBSTaCB2IBk/QtjDrs6+x4xuezyMXdm0HQ==",
"path": "runtime.any.system.text.encoding/4.3.0",
"hashPath": "runtime.any.system.text.encoding.4.3.0.nupkg.sha512"
},
"runtime.any.System.Text.Encoding.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-NLrxmLsfRrOuVqPWG+2lrQZnE53MLVeo+w9c54EV+TUo4c8rILpsDXfY8pPiOy9kHpUHHP07ugKmtsU3vVW5Jg==",
"path": "runtime.any.system.text.encoding.extensions/4.3.0",
"hashPath": "runtime.any.system.text.encoding.extensions.4.3.0.nupkg.sha512"
},
"runtime.any.System.Threading.Tasks/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-OhBAVBQG5kFj1S+hCEQ3TUHBAEtZ3fbEMgZMRNdN8A0Pj4x+5nTELEqL59DU0TjKVE6II3dqKw4Dklb3szT65w==",
"path": "runtime.any.system.threading.tasks/4.3.0",
"hashPath": "runtime.any.system.threading.tasks.4.3.0.nupkg.sha512"
},
"runtime.any.System.Threading.Timer/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-w4ehZJ+AwXYmGwYu+rMvym6RvMaRiUEQR1u6dwcyuKHxz8Heu/mO9AG1MquEgTyucnhv3M43X0iKpDOoN17C0w==",
"path": "runtime.any.system.threading.timer/4.3.0",
"hashPath": "runtime.any.system.threading.timer.4.3.0.nupkg.sha512"
},
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {
"type": "package",
"serviceable": true,
@@ -1200,6 +1472,62 @@
"path": "runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl/4.3.2",
"hashPath": "runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512"
},
"runtime.unix.Microsoft.Win32.Primitives/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-2mI2Mfq+CVatgr4RWGvAWBjoCfUafy6VNFU7G9OA52DjO8x/okfIbsEq2UPgeGfdpO7X5gmPXKT8slx0tn0Mhw==",
"path": "runtime.unix.microsoft.win32.primitives/4.3.0",
"hashPath": "runtime.unix.microsoft.win32.primitives.4.3.0.nupkg.sha512"
},
"runtime.unix.System.Console/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JSEiU9EvE2vJTHUuHnSg9le8XDbvZmjZ/3PhLviICzY1TTDE7c/uNYVtE9qTA9PAOZsqccy5lxvfaZOeBhT3tA==",
"path": "runtime.unix.system.console/4.3.0",
"hashPath": "runtime.unix.system.console.4.3.0.nupkg.sha512"
},
"runtime.unix.System.Diagnostics.Debug/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-WV8KLRHWVUVUDduFnvGMHt0FsEt2wK6xPl1EgDKlaMx2KnZ43A/O0GzP8wIuvAC7mq4T9V1mm90r+PXkL9FPdQ==",
"path": "runtime.unix.system.diagnostics.debug/4.3.0",
"hashPath": "runtime.unix.system.diagnostics.debug.4.3.0.nupkg.sha512"
},
"runtime.unix.System.IO.FileSystem/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ajmTcjrqc3vgV1TH54DRioshbEniaFbOAJ0kReGuNsp9uIcqYle0RmUo6+Qlwqe3JIs4TDxgnqs3UzX3gRJ1rA==",
"path": "runtime.unix.system.io.filesystem/4.3.0",
"hashPath": "runtime.unix.system.io.filesystem.4.3.0.nupkg.sha512"
},
"runtime.unix.System.Net.Primitives/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-AZcRXhH7Gamr+bckUfX3iHefPIrujJTt9XWQWo0elNiP1SNasX0KBWINZkDKY0GsOrsyJ7cB4MgIRTZzLlsTKg==",
"path": "runtime.unix.system.net.primitives/4.3.0",
"hashPath": "runtime.unix.system.net.primitives.4.3.0.nupkg.sha512"
},
"runtime.unix.System.Net.Sockets/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4NcLbqajFaD3PvhOdmbieeBlKY4d8/kBfgJ5g28n6k1jWEICabvLM62gvmUS/CvyfvcZxVanKPl+E9LhPzfXZw==",
"path": "runtime.unix.system.net.sockets/4.3.0",
"hashPath": "runtime.unix.system.net.sockets.4.3.0.nupkg.sha512"
},
"runtime.unix.System.Private.Uri/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ooWzobr5RAq34r9uan1r/WPXJYG1XWy9KanrxNvEnBzbFdQbMG7Y3bVi4QxR7xZMNLOxLLTAyXvnSkfj5boZSg==",
"path": "runtime.unix.system.private.uri/4.3.0",
"hashPath": "runtime.unix.system.private.uri.4.3.0.nupkg.sha512"
},
"runtime.unix.System.Runtime.Extensions/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zQiTBVpiLftTQZW8GFsV0gjYikB1WMkEPIxF5O6RkUrSV/OgvRRTYgeFQha/0keBpuS0HYweraGRwhfhJ7dj7w==",
"path": "runtime.unix.system.runtime.extensions/4.3.0",
"hashPath": "runtime.unix.system.runtime.extensions.4.3.0.nupkg.sha512"
},
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
"type": "package",
"serviceable": true,
@@ -1445,6 +1773,13 @@
"path": "system.objectmodel/4.3.0",
"hashPath": "system.objectmodel.4.3.0.nupkg.sha512"
},
"System.Private.Uri/4.3.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-I4SwANiUGho1esj4V4oSlPllXjzCZDE+5XXso2P03LW2vOda2Enzh8DWOxwN6hnrJyp314c7KuVu31QYhRzOGg==",
"path": "system.private.uri/4.3.0",
"hashPath": "system.private.uri.4.3.0.nupkg.sha512"
},
"System.Reflection/4.3.0": {
"type": "package",
"serviceable": true,
@@ -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"
]
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\David\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
]
}
}
@@ -6,9 +6,9 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"DiscordCLI/0.0.4.1": {
"DiscordCLI/0.0.5.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"
}
}
},
@@ -1013,17 +1013,17 @@
}
},
"libraries": {
"DiscordCLI/0.0.4.1": {
"DiscordCLI/0.0.5.0": {
"type": "project",
"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",
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
}
}
}
Binary file not shown.
@@ -13,11 +13,11 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DiscordCLI")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.4.1")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.4.1")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.5.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.5.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DiscordCLI")]
[assembly: System.Reflection.AssemblyTitleAttribute("DiscordCLI")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.4.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.5.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
@@ -1 +1 @@
5d54ca63148aa381a54ca3c8c4317ef16b1d9b46
0fe06dcdfd35058752e4e8c3a146ebc9e41e8538
@@ -1 +1 @@
cbaf3c5b762f0a41704c9c99f67bfcfa1eaa46b2
5819de5694d0ca464238a467fd3b6e9087ce8675
@@ -0,0 +1,67 @@
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\DiscordCLI.exe
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\DiscordCLI.deps.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\DiscordCLI.runtimeconfig.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\DiscordCLI.runtimeconfig.dev.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\ref\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\DiscordCLI.pdb
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\Newtonsoft.Json.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csprojAssemblyReference.cache
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.AssemblyInfoInputs.cache
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.AssemblyInfo.cs
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.CoreCompileInputs.cache
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.CopyComplete
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\ref\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.pdb
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\obj\Debug\net5.0\DiscordCLI.genruntimeconfig.cache
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\DSharpPlus.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\bin\Debug\net5.0\ColorMineStandard.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.AssemblyInfoInputs.cache
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.AssemblyInfo.cs
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.CoreCompileInputs.cache
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\ref\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.pdb
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.exe
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.deps.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.runtimeconfig.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.runtimeconfig.dev.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\ref\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DiscordCLI.pdb
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\ColorMineStandard.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\DSharpPlus.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\Newtonsoft.Json.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.CopyComplete
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.genruntimeconfig.cache
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.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
C:\Users\David\Programmieren\DiscordCLI\src\DiscordCLI\obj\Debug\net5.0\DiscordCLI.csproj.AssemblyReference.cache
Binary file not shown.
@@ -1 +1 @@
7913be6fc5baee9a6c6e2d3d32160d2ff9b796ff
d067254352a01513ddeb2db7498953039a00bea6
Binary file not shown.
@@ -0,0 +1,11 @@
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\DiscordCLI.exe
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\DiscordCLI.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\DiscordCLI.deps.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\DiscordCLI.runtimeconfig.json
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\DiscordCLI.pdb
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\AlwaysUpToDate.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\ColorMineStandard.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\DSharpPlus.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\Newtonsoft.Json.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\Stone_Red-C-Sharp-Utilities.dll
C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\bin\Release\net5.0\publish\DiscordCLI\System.Text.Json.dll

Some files were not shown because too many files have changed in this diff Show More