Skip to content

Commit

Permalink
Hotfix 3.15.2 (#2946)
Browse files Browse the repository at this point in the history
  • Loading branch information
Misha-133 authored Jun 18, 2024
1 parent 28d3dcd commit 85a13e9
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 35 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Discord.Net.targets
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 1 addition & 1 deletion docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions src/Discord.Net.Core/Entities/Emotes/Emote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public class Emote : IEmote, ISnowflakeEntity
/// </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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public AutocompleteAttribute(Type autocompleteHandlerType)

AutocompleteHandlerType = autocompleteHandlerType;
}

/// <summary>
/// Set the <see cref="ApplicationCommandOptionProperties.IsAutocomplete"/> to <see langword="true"/> without specifying a <see cref="AutocompleteHandler"/>.
/// </summary>
public AutocompleteAttribute() { }
}

/// <summary>
Expand Down
62 changes: 31 additions & 31 deletions src/Discord.Net/Discord.Net.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 85a13e9

Please sign in to comment.