Browse Source

Fix namespaces

pull/1923/head
quin lynch 4 years ago
parent
commit
f9ed147348
9 changed files with 60 additions and 17 deletions
  1. +1
    -1
      src/Discord.Net.Core/Discord.Net.Core.csproj
  2. +3
    -0
      src/Discord.Net.Core/Discord.Net.Core.xml
  3. +1
    -1
      src/Discord.Net.Core/Entities/Messages/TimestampTag.cs
  4. +1
    -1
      src/Discord.Net.Core/Entities/Messages/TimestampTagStyle.cs
  5. +1
    -1
      src/Discord.Net.Rest/Discord.Net.Rest.csproj
  6. +15
    -0
      src/Discord.Net.Rest/Discord.Net.Rest.xml
  7. +1
    -1
      src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj
  8. +27
    -2
      src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml
  9. +10
    -10
      src/Discord.Net/Discord.Net.nuspec

+ 1
- 1
src/Discord.Net.Core/Discord.Net.Core.csproj View File

@@ -8,7 +8,7 @@
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks> <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks> <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<PackageId>Discord.Net.Labs.Core</PackageId> <PackageId>Discord.Net.Labs.Core</PackageId>
<Version>2.4.3</Version>
<Version>2.4.4</Version>
<Product>Discord.Net.Labs.Core</Product> <Product>Discord.Net.Labs.Core</Product>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> <RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<PackageIcon>Temporary.png</PackageIcon> <PackageIcon>Temporary.png</PackageIcon>


+ 3
- 0
src/Discord.Net.Core/Discord.Net.Core.xml View File

@@ -10754,12 +10754,15 @@
<summary> <summary>
Parses a provided user mention string. Parses a provided user mention string.
</summary> </summary>
<param name="text">The user mention.</param>
<exception cref="T:System.ArgumentException">Invalid mention format.</exception> <exception cref="T:System.ArgumentException">Invalid mention format.</exception>
</member> </member>
<member name="M:Discord.MentionUtils.TryParseUser(System.String,System.UInt64@)"> <member name="M:Discord.MentionUtils.TryParseUser(System.String,System.UInt64@)">
<summary> <summary>
Tries to parse a provided user mention string. Tries to parse a provided user mention string.
</summary> </summary>
<param name="text">The user mention.</param>
<param name="userId">The UserId of the user.</param>
</member> </member>
<member name="M:Discord.MentionUtils.ParseChannel(System.String)"> <member name="M:Discord.MentionUtils.ParseChannel(System.String)">
<summary> <summary>


+ 1
- 1
src/Discord.Net.Core/Entities/Messages/TimestampTag.cs View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;


namespace Discord.Entities.Messages
namespace Discord
{ {
/// <summary> /// <summary>
/// Represents a class used to make timestamps in messages. see <see href="https://discord.com/developers/docs/reference#message-formatting-timestamp-styles"/>. /// Represents a class used to make timestamps in messages. see <see href="https://discord.com/developers/docs/reference#message-formatting-timestamp-styles"/>.


+ 1
- 1
src/Discord.Net.Core/Entities/Messages/TimestampTagStyle.cs View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;


namespace Discord.Entities.Messages
namespace Discord
{ {
/// <summary> /// <summary>
/// Represents a set of styles to use with a <see cref="TimestampTag"/> /// Represents a set of styles to use with a <see cref="TimestampTag"/>


+ 1
- 1
src/Discord.Net.Rest/Discord.Net.Rest.csproj View File

@@ -9,7 +9,7 @@
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks> <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<PackageIcon>Temporary.png</PackageIcon> <PackageIcon>Temporary.png</PackageIcon>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl> <PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<Version>2.4.4</Version>
<Version>2.4.5</Version>
<PackageId>Discord.Net.Labs.Rest</PackageId> <PackageId>Discord.Net.Labs.Rest</PackageId>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> <RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<AssemblyVersion>2.3.4</AssemblyVersion> <AssemblyVersion>2.3.4</AssemblyVersion>


+ 15
- 0
src/Discord.Net.Rest/Discord.Net.Rest.xml View File

@@ -4,6 +4,21 @@
<name>Discord.Net.Rest</name> <name>Discord.Net.Rest</name>
</assembly> </assembly>
<members> <members>
<member name="T:Discord.API.InviteVanity">
<summary>
Represents a vanity invite.
</summary>
</member>
<member name="P:Discord.API.InviteVanity.Code">
<summary>
The unique code for the invite link.
</summary>
</member>
<member name="P:Discord.API.InviteVanity.Uses">
<summary>
The total amount of vanity invite uses.
</summary>
</member>
<member name="P:Discord.API.MessageApplication.Id"> <member name="P:Discord.API.MessageApplication.Id">
<summary> <summary>
Gets the snowflake ID of the application. Gets the snowflake ID of the application.


+ 1
- 1
src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj View File

@@ -8,7 +8,7 @@
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks> <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks> <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>2.4.5</Version>
<Version>2.4.6</Version>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl> <RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl> <PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<PackageIcon>Temporary.png</PackageIcon> <PackageIcon>Temporary.png</PackageIcon>


+ 27
- 2
src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml View File

@@ -1351,7 +1351,7 @@
Sends a file to this message channel with an optional caption. Sends a file to this message channel with an optional caption.
</summary> </summary>
<remarks> <remarks>
This method follows the same behavior as described in <see cref="!:IMessageChannel.SendFileAsync(string, string, bool, Embed, RequestOptions, bool, AllowedMentions, MessageReference)"/>.
This method follows the same behavior as described in <see cref="M:Discord.IMessageChannel.SendFileAsync(System.String,System.String,System.Boolean,Discord.Embed,Discord.RequestOptions,System.Boolean,Discord.AllowedMentions,Discord.MessageReference,Discord.MessageComponent)"/>.
Please visit its documentation for more details on this method. Please visit its documentation for more details on this method.
</remarks> </remarks>
<param name="filePath">The file path of the file.</param> <param name="filePath">The file path of the file.</param>
@@ -1376,7 +1376,7 @@
Sends a file to this message channel with an optional caption. Sends a file to this message channel with an optional caption.
</summary> </summary>
<remarks> <remarks>
This method follows the same behavior as described in <see cref="!:IMessageChannel.SendFileAsync(Stream, string, string, bool, Embed, RequestOptions, bool, AllowedMentions, MessageReference)"/>.
This method follows the same behavior as described in <see cref="M:Discord.IMessageChannel.SendFileAsync(System.IO.Stream,System.String,System.String,System.Boolean,Discord.Embed,Discord.RequestOptions,System.Boolean,Discord.AllowedMentions,Discord.MessageReference,Discord.MessageComponent)"/>.
Please visit its documentation for more details on this method. Please visit its documentation for more details on this method.
</remarks> </remarks>
<param name="stream">The <see cref="T:System.IO.Stream" /> of the file to be sent.</param> <param name="stream">The <see cref="T:System.IO.Stream" /> of the file to be sent.</param>
@@ -1773,6 +1773,16 @@
<member name="P:Discord.WebSocket.SocketGroupChannel.CachedMessages"> <member name="P:Discord.WebSocket.SocketGroupChannel.CachedMessages">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketGroupChannel.Users">
<summary>
Returns a collection representing all of the users in the group.
</summary>
</member>
<member name="P:Discord.WebSocket.SocketGroupChannel.Recipients">
<summary>
Returns a collection representing all users in the group, not including the client.
</summary>
</member>
<member name="M:Discord.WebSocket.SocketGroupChannel.LeaveAsync(Discord.RequestOptions)"> <member name="M:Discord.WebSocket.SocketGroupChannel.LeaveAsync(Discord.RequestOptions)">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -3474,6 +3484,11 @@
A task that represents the asynchronous operation of acknowledging the interaction. A task that represents the asynchronous operation of acknowledging the interaction.
</returns> </returns>
</member> </member>
<member name="T:Discord.WebSocket.SocketInvite">
<summary>
Represents a WebSocket-based invite to a guild.
</summary>
</member>
<member name="P:Discord.WebSocket.SocketInvite.ChannelId"> <member name="P:Discord.WebSocket.SocketInvite.ChannelId">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -3949,6 +3964,11 @@
<member name="P:Discord.WebSocket.SocketRole.Mention"> <member name="P:Discord.WebSocket.SocketRole.Mention">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketRole.Members">
<summary>
Returns an IEnumerable containing all <see cref="T:Discord.WebSocket.SocketGuildUser"/> that have this role.
</summary>
</member>
<member name="M:Discord.WebSocket.SocketRole.ModifyAsync(System.Action{Discord.RoleProperties},Discord.RequestOptions)"> <member name="M:Discord.WebSocket.SocketRole.ModifyAsync(System.Action{Discord.RoleProperties},Discord.RequestOptions)">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -3972,6 +3992,11 @@
<member name="P:Discord.WebSocket.SocketEntity`1.Id"> <member name="P:Discord.WebSocket.SocketEntity`1.Id">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="T:Discord.WebSocket.SocketGroupUser">
<summary>
Represents a WebSocket-based group user.
</summary>
</member>
<member name="P:Discord.WebSocket.SocketGroupUser.Channel"> <member name="P:Discord.WebSocket.SocketGroupUser.Channel">
<summary> <summary>
Gets the group channel of the user. Gets the group channel of the user.


+ 10
- 10
src/Discord.Net/Discord.Net.nuspec View File

@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata> <metadata>
<id>Discord.Net.Labs</id> <id>Discord.Net.Labs</id>
<version>2.4.5$suffix$</version>
<version>2.4.6$suffix$</version>
<title>Discord.Net Labs</title> <title>Discord.Net Labs</title>
<authors>Discord.Net Contributors</authors> <authors>Discord.Net Contributors</authors>
<owners>quinchs</owners> <owners>quinchs</owners>
@@ -14,23 +14,23 @@
<iconUrl>https://avatars.githubusercontent.com/u/84047264</iconUrl> <iconUrl>https://avatars.githubusercontent.com/u/84047264</iconUrl>
<dependencies> <dependencies>
<group targetFramework="net461"> <group targetFramework="net461">
<dependency id="Discord.Net.Labs.Core" version="2.4.3$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.4.4$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.4.5$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="2.4.4$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.4.5$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.4.6$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.5$suffix$" /> <dependency id="Discord.Net.Labs.Commands" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Webhook" version="2.3.4$suffix$" /> <dependency id="Discord.Net.Labs.Webhook" version="2.3.4$suffix$" />
</group> </group>
<group targetFramework="netstandard2.0"> <group targetFramework="netstandard2.0">
<dependency id="Discord.Net.Labs.Core" version="2.4.3$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.4.4$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.4.5$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="2.4.4$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.4.5$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.4.6$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.5$suffix$" /> <dependency id="Discord.Net.Labs.Commands" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Webhook" version="2.3.4$suffix$" /> <dependency id="Discord.Net.Labs.Webhook" version="2.3.4$suffix$" />
</group> </group>
<group targetFramework="netstandard2.1"> <group targetFramework="netstandard2.1">
<dependency id="Discord.Net.Labs.Core" version="2.4.3$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.4.4$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.4.5$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="2.4.4$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.4.5$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.4.6$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.5$suffix$" /> <dependency id="Discord.Net.Labs.Commands" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Webhook" version="2.3.4$suffix$" /> <dependency id="Discord.Net.Labs.Webhook" version="2.3.4$suffix$" />
</group> </group>


Loading…
Cancel
Save