Hotfix 3.15.2 (#2946)

This commit is contained in:
Mihail Gribkov
2024-06-18 22:16:33 +03:00
committed by GitHub
parent 28d3dcdd75
commit 85a13e9fff
6 changed files with 43 additions and 35 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## [3.15.2] - 2024-06-18
### Hotfix
- fix `AutocompleteAttribute` with empty constructor
- fix `Emote` constructor related issues
## [3.15.1] - 2024-06-18
### Added
- #2927 Add missing PollProperties (a59f4ba)

View File

@@ -1,6 +1,6 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>3.15.1</VersionPrefix>
<VersionPrefix>3.15.2</VersionPrefix>
<LangVersion>latest</LangVersion>
<Authors>Discord.Net Contributors</Authors>
<PackageTags>discord;discordapp</PackageTags>

View File

@@ -59,7 +59,7 @@
"globalMetadata": {
"_appTitle": "Discord.Net Documentation",
"_appName": "Discord.Net",
"_appFooter": "Discord.Net © 2015-2024 3.15.1",
"_appFooter": "Discord.Net © 2015-2024 3.15.2",
"_enableSearch": true,
"_appLogoPath": "marketing/logo/SVG/Logomark Purple.svg",
"_appFaviconPath": "favicon.png"

View File

@@ -36,8 +36,6 @@ namespace Discord
/// </summary>
public Emote(ulong id, string name, bool animated = false)
{
if (string.IsNullOrWhiteSpace(name))
throw new ArgumentException("A custom emote must have a name", nameof(name));
Id = id;
Name = name;
Animated = animated;

View File

@@ -27,6 +27,11 @@ public class AutocompleteAttribute : Attribute
AutocompleteHandlerType = autocompleteHandlerType;
}
/// <summary>
/// Set the <see cref="ApplicationCommandOptionProperties.IsAutocomplete"/> to <see langword="true"/> without specifying a <see cref="AutocompleteHandler"/>.
/// </summary>
public AutocompleteAttribute() { }
}
/// <summary>

View File

@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Discord.Net</id>
<version>3.15.1$suffix$</version>
<version>3.15.2$suffix$</version>
<title>Discord.Net</title>
<authors>Discord.Net Contributors</authors>
<owners>foxbot</owners>
@@ -15,44 +15,44 @@
<readme>NUGET_README.md</readme>
<dependencies>
<group targetFramework="net6.0">
<dependency id="Discord.Net.Core" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Core" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.2$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.2$suffix$" />
</group>
<group targetFramework="net5.0">
<dependency id="Discord.Net.Core" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Core" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.2$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.2$suffix$" />
</group>
<group targetFramework="net461">
<dependency id="Discord.Net.Core" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Core" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.2$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.2$suffix$" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="Discord.Net.Core" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Core" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.2$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.2$suffix$" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="Discord.Net.Core" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.1$suffix$" />
<dependency id="Discord.Net.Core" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Rest" version="3.15.2$suffix$" />
<dependency id="Discord.Net.WebSocket" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Commands" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Webhook" version="3.15.2$suffix$" />
<dependency id="Discord.Net.Interactions" version="3.15.2$suffix$" />
</group>
</dependencies>
</metadata>