@@ -0,0 +1,8 @@ | |||
<?xml version="1.0"?> | |||
<doc> | |||
<assembly> | |||
<name>Discord.Net.Analyzers</name> | |||
</assembly> | |||
<members> | |||
</members> | |||
</doc> |
@@ -7,13 +7,13 @@ | |||
<Description>A Discord.Net Labs extension adding support for bot commands.</Description> | |||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<Version>2.3.3</Version> | |||
<Version>2.3.4</Version> | |||
<PackageId>Discord.Net.Labs.Commands</PackageId> | |||
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl> | |||
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> | |||
<PackageIcon>Temporary.png</PackageIcon> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net461|AnyCPU'"> | |||
<PropertyGroup> | |||
<DocumentationFile>C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.Commands\Discord.Net.Commands.xml</DocumentationFile> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
@@ -8,14 +8,15 @@ | |||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<PackageId>Discord.Net.Labs.Core</PackageId> | |||
<Version>2.3.7</Version> | |||
<Version>2.3.8</Version> | |||
<Product>Discord.Net.Labs.Core</Product> | |||
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> | |||
<PackageIcon>Temporary.png</PackageIcon> | |||
<AssemblyVersion>2.3.2</AssemblyVersion> | |||
<FileVersion>2.3.2</FileVersion> | |||
<AssemblyVersion>2.3.8</AssemblyVersion> | |||
<FileVersion>2.3.8</FileVersion> | |||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net461|AnyCPU'"> | |||
<PropertyGroup> | |||
<DocumentationFile>C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.Core\Discord.Net.Core.xml</DocumentationFile> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
@@ -9,13 +9,13 @@ | |||
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<PackageIcon>Temporary.png</PackageIcon> | |||
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl> | |||
<Version>2.3.7</Version> | |||
<Version>2.3.8</Version> | |||
<PackageId>Discord.Net.Labs.Rest</PackageId> | |||
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> | |||
<AssemblyVersion>2.3.4</AssemblyVersion> | |||
<FileVersion>2.3.4</FileVersion> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net461|AnyCPU'"> | |||
<PropertyGroup> | |||
<DocumentationFile>C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.Rest\Discord.Net.Rest.xml</DocumentationFile> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
@@ -42,7 +42,7 @@ namespace Discord.Rest | |||
{ | |||
Content = args.Content, | |||
Embed = args.Embed.IsSpecified ? args.Embed.Value.ToModel() : Optional.Create<API.Embed>(), | |||
Components = args?.Components.GetValueOrDefault()?.Components.Select(x => new API.ActionRowComponent(x)).ToArray() ?? Optional<API.ActionRowComponent[]>.Unspecified | |||
Components = args.Components.IsSpecified ? args.Components.Value?.Components.Select(x => new API.ActionRowComponent(x)).ToArray() : Optional<API.ActionRowComponent[]>.Unspecified | |||
}; | |||
return await client.ApiClient.ModifyMessageAsync(msg.Channel.Id, msg.Id, apiArgs, options).ConfigureAwait(false); | |||
} | |||
@@ -1,4 +1,4 @@ | |||
<Project Sdk="Microsoft.NET.Sdk"> | |||
<Project Sdk="Microsoft.NET.Sdk"> | |||
<Import Project="../../Discord.Net.targets" /> | |||
<Import Project="../../StyleAnalyzer.targets" /> | |||
<PropertyGroup> | |||
@@ -8,13 +8,13 @@ | |||
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | |||
<Version>2.3.7</Version> | |||
<Version>2.3.8</Version> | |||
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> | |||
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl> | |||
<PackageIcon>Temporary.png</PackageIcon> | |||
<PackageId>Discord.Net.Labs.WebSocket</PackageId> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net461|AnyCPU'"> | |||
<PropertyGroup> | |||
<DocumentationFile>C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.WebSocket\Discord.Net.WebSocket.xml</DocumentationFile> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
@@ -6,13 +6,13 @@ | |||
<RootNamespace>Discord.Webhook</RootNamespace> | |||
<Description>A core Discord.Net Labs library containing the Webhook client and models.</Description> | |||
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks> | |||
<Version>2.3.2</Version> | |||
<Version>2.3.3</Version> | |||
<PackageId>Discord.Net.Labs.Webhook</PackageId> | |||
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl> | |||
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> | |||
<PackageIcon>Temporary.png</PackageIcon> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'"> | |||
<PropertyGroup> | |||
<DocumentationFile>C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.Webhook\Discord.Net.Webhook.xml</DocumentationFile> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
@@ -2,7 +2,7 @@ | |||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |||
<metadata> | |||
<id>Discord.Net.Labs</id> | |||
<version>2.3.6$suffix$</version> | |||
<version>2.3.7$suffix$</version> | |||
<title>Discord.Net Labs</title> | |||
<authors>Discord.Net Contributors</authors> | |||
<owners>quinchs</owners> | |||
@@ -14,25 +14,25 @@ | |||
<iconUrl>https://avatars.githubusercontent.com/u/84047264</iconUrl> | |||
<dependencies> | |||
<group targetFramework="net461"> | |||
<dependency id="Discord.Net.Labs.Core" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Rest" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Commands" version="2.3.3$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Webhook" version="2.3.2$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Core" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Rest" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Commands" version="2.3.4$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Webhook" version="2.3.3$suffix$" /> | |||
</group> | |||
<group targetFramework="netstandard2.0"> | |||
<dependency id="Discord.Net.Labs.Core" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Rest" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Commands" version="2.3.3$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Webhook" version="2.3.2$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Core" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Rest" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Commands" version="2.3.4$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Webhook" version="2.3.3$suffix$" /> | |||
</group> | |||
<group targetFramework="netstandard2.1"> | |||
<dependency id="Discord.Net.Labs.Core" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Rest" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.7$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Commands" version="2.3.3$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Webhook" version="2.3.2$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Core" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Rest" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.8$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Commands" version="2.3.4$suffix$" /> | |||
<dependency id="Discord.Net.Labs.Webhook" version="2.3.3$suffix$" /> | |||
</group> | |||
</dependencies> | |||
</metadata> | |||