From f9ed1473482125acf73c618bb356cd4f966f602c Mon Sep 17 00:00:00 2001 From: quin lynch Date: Sat, 10 Jul 2021 22:07:35 -0300 Subject: [PATCH] Fix namespaces --- src/Discord.Net.Core/Discord.Net.Core.csproj | 2 +- src/Discord.Net.Core/Discord.Net.Core.xml | 3 ++ .../Entities/Messages/TimestampTag.cs | 2 +- .../Entities/Messages/TimestampTagStyle.cs | 2 +- src/Discord.Net.Rest/Discord.Net.Rest.csproj | 2 +- src/Discord.Net.Rest/Discord.Net.Rest.xml | 15 ++++++++++ .../Discord.Net.WebSocket.csproj | 2 +- .../Discord.Net.WebSocket.xml | 29 +++++++++++++++++-- src/Discord.Net/Discord.Net.nuspec | 20 ++++++------- 9 files changed, 60 insertions(+), 17 deletions(-) diff --git a/src/Discord.Net.Core/Discord.Net.Core.csproj b/src/Discord.Net.Core/Discord.Net.Core.csproj index 7f5e4c7ac..25d041d8e 100644 --- a/src/Discord.Net.Core/Discord.Net.Core.csproj +++ b/src/Discord.Net.Core/Discord.Net.Core.csproj @@ -8,7 +8,7 @@ net461;netstandard2.0;netstandard2.1 netstandard2.0;netstandard2.1 Discord.Net.Labs.Core - 2.4.3 + 2.4.4 Discord.Net.Labs.Core https://github.com/Discord-Net-Labs/Discord.Net-Labs Temporary.png diff --git a/src/Discord.Net.Core/Discord.Net.Core.xml b/src/Discord.Net.Core/Discord.Net.Core.xml index 88ca9dfd4..6afc006d4 100644 --- a/src/Discord.Net.Core/Discord.Net.Core.xml +++ b/src/Discord.Net.Core/Discord.Net.Core.xml @@ -10754,12 +10754,15 @@ Parses a provided user mention string. + The user mention. Invalid mention format. Tries to parse a provided user mention string. + The user mention. + The UserId of the user. diff --git a/src/Discord.Net.Core/Entities/Messages/TimestampTag.cs b/src/Discord.Net.Core/Entities/Messages/TimestampTag.cs index 44f41788f..829b35098 100644 --- a/src/Discord.Net.Core/Entities/Messages/TimestampTag.cs +++ b/src/Discord.Net.Core/Entities/Messages/TimestampTag.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Discord.Entities.Messages +namespace Discord { /// /// Represents a class used to make timestamps in messages. see . diff --git a/src/Discord.Net.Core/Entities/Messages/TimestampTagStyle.cs b/src/Discord.Net.Core/Entities/Messages/TimestampTagStyle.cs index d36c28110..9c83a070e 100644 --- a/src/Discord.Net.Core/Entities/Messages/TimestampTagStyle.cs +++ b/src/Discord.Net.Core/Entities/Messages/TimestampTagStyle.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Discord.Entities.Messages +namespace Discord { /// /// Represents a set of styles to use with a diff --git a/src/Discord.Net.Rest/Discord.Net.Rest.csproj b/src/Discord.Net.Rest/Discord.Net.Rest.csproj index 25104d6d0..14302686f 100644 --- a/src/Discord.Net.Rest/Discord.Net.Rest.csproj +++ b/src/Discord.Net.Rest/Discord.Net.Rest.csproj @@ -9,7 +9,7 @@ netstandard2.0;netstandard2.1 Temporary.png https://github.com/Discord-Net-Labs/Discord.Net-Labs - 2.4.4 + 2.4.5 Discord.Net.Labs.Rest https://github.com/Discord-Net-Labs/Discord.Net-Labs 2.3.4 diff --git a/src/Discord.Net.Rest/Discord.Net.Rest.xml b/src/Discord.Net.Rest/Discord.Net.Rest.xml index da7b42842..361f27b57 100644 --- a/src/Discord.Net.Rest/Discord.Net.Rest.xml +++ b/src/Discord.Net.Rest/Discord.Net.Rest.xml @@ -4,6 +4,21 @@ Discord.Net.Rest + + + Represents a vanity invite. + + + + + The unique code for the invite link. + + + + + The total amount of vanity invite uses. + + Gets the snowflake ID of the application. diff --git a/src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj b/src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj index a641cc752..5a254905f 100644 --- a/src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj +++ b/src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj @@ -8,7 +8,7 @@ net461;netstandard2.0;netstandard2.1 netstandard2.0;netstandard2.1 true - 2.4.5 + 2.4.6 https://github.com/Discord-Net-Labs/Discord.Net-Labs https://github.com/Discord-Net-Labs/Discord.Net-Labs Temporary.png diff --git a/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml b/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml index 9df04c8a5..2c20d3004 100644 --- a/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml +++ b/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml @@ -1351,7 +1351,7 @@ Sends a file to this message channel with an optional caption. - This method follows the same behavior as described in . + This method follows the same behavior as described in . Please visit its documentation for more details on this method. The file path of the file. @@ -1376,7 +1376,7 @@ Sends a file to this message channel with an optional caption. - This method follows the same behavior as described in . + This method follows the same behavior as described in . Please visit its documentation for more details on this method. The of the file to be sent. @@ -1773,6 +1773,16 @@ + + + Returns a collection representing all of the users in the group. + + + + + Returns a collection representing all users in the group, not including the client. + + @@ -3474,6 +3484,11 @@ A task that represents the asynchronous operation of acknowledging the interaction. + + + Represents a WebSocket-based invite to a guild. + + @@ -3949,6 +3964,11 @@ + + + Returns an IEnumerable containing all that have this role. + + @@ -3972,6 +3992,11 @@ + + + Represents a WebSocket-based group user. + + Gets the group channel of the user. diff --git a/src/Discord.Net/Discord.Net.nuspec b/src/Discord.Net/Discord.Net.nuspec index 77671c862..472e7651e 100644 --- a/src/Discord.Net/Discord.Net.nuspec +++ b/src/Discord.Net/Discord.Net.nuspec @@ -2,7 +2,7 @@ Discord.Net.Labs - 2.4.5$suffix$ + 2.4.6$suffix$ Discord.Net Labs Discord.Net Contributors quinchs @@ -14,23 +14,23 @@ https://avatars.githubusercontent.com/u/84047264 - - - + + + - - - + + + - - - + + +