Browse Source

meta: bump versions

pull/1923/head
quin lynch 3 years ago
parent
commit
f98d742909
7 changed files with 162 additions and 39 deletions
  1. +3
    -3
      src/Discord.Net.Core/Discord.Net.Core.csproj
  2. +84
    -19
      src/Discord.Net.Core/Discord.Net.Core.xml
  3. +3
    -3
      src/Discord.Net.Rest/Discord.Net.Rest.csproj
  4. +11
    -2
      src/Discord.Net.Rest/Discord.Net.Rest.xml
  5. +3
    -1
      src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj
  6. +48
    -1
      src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml
  7. +10
    -10
      src/Discord.Net/Discord.Net.nuspec

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

@@ -8,12 +8,12 @@
<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>3.0.0-pre</Version>
<Version>3.0.1-pre</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>
<AssemblyVersion>2.3.8</AssemblyVersion>
<FileVersion>2.3.8</FileVersion>
<AssemblyVersion>3.3.1</AssemblyVersion>
<FileVersion>3.0.1</FileVersion>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> <GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>


+ 84
- 19
src/Discord.Net.Core/Discord.Net.Core.xml View File

@@ -100,6 +100,18 @@
A URL pointing to the user's avatar in the specified size. A URL pointing to the user's avatar in the specified size.
</returns> </returns>
</member> </member>
<member name="M:Discord.CDN.GetUserBannerUrl(System.UInt64,System.String,System.UInt16,Discord.ImageFormat)">
<summary>
Returns a user banner URL.
</summary>
<param name="userId">The user snowflake identifier.</param>
<param name="bannerId">The banner identifier.</param>
<param name="size">The size of the image to return in horizontal pixels. This can be any power of two between 16 and 2048.</param>
<param name="format">The format to return.</param>
<returns>
A URL pointing to the user's banner in the specified size.
</returns>
</member>
<member name="M:Discord.CDN.GetDefaultUserAvatarUrl(System.UInt16)"> <member name="M:Discord.CDN.GetDefaultUserAvatarUrl(System.UInt16)">
<summary> <summary>
Returns the default user avatar URL. Returns the default user avatar URL.
@@ -4782,11 +4794,6 @@
Represents a builder for creating a <see cref="T:Discord.MessageComponent"/>. Represents a builder for creating a <see cref="T:Discord.MessageComponent"/>.
</summary> </summary>
</member> </member>
<member name="F:Discord.ComponentBuilder.MaxLabelLength">
<summary>
The max length of a <see cref="P:Discord.ButtonComponent.Label"/>.
</summary>
</member>
<member name="F:Discord.ComponentBuilder.MaxCustomIdLength"> <member name="F:Discord.ComponentBuilder.MaxCustomIdLength">
<summary> <summary>
The max length of a <see cref="P:Discord.ButtonComponent.CustomId"/>. The max length of a <see cref="P:Discord.ButtonComponent.CustomId"/>.
@@ -4905,11 +4912,16 @@
Represents a class used to build <see cref="T:Discord.ButtonComponent"/>'s. Represents a class used to build <see cref="T:Discord.ButtonComponent"/>'s.
</summary> </summary>
</member> </member>
<member name="F:Discord.ButtonBuilder.MaxLabelLength">
<summary>
The max length of a <see cref="P:Discord.ButtonComponent.Label"/>.
</summary>
</member>
<member name="P:Discord.ButtonBuilder.Label"> <member name="P:Discord.ButtonBuilder.Label">
<summary> <summary>
Gets or sets the label of the current button. Gets or sets the label of the current button.
</summary> </summary>
<exception cref="T:System.ArgumentException" accessor="set"><see cref="P:Discord.ButtonBuilder.Label"/> length exceeds <see cref="F:Discord.ComponentBuilder.MaxLabelLength"/>.</exception>
<exception cref="T:System.ArgumentException" accessor="set"><see cref="P:Discord.ButtonBuilder.Label"/> length exceeds <see cref="F:Discord.ButtonBuilder.MaxLabelLength"/>.</exception>
</member> </member>
<member name="P:Discord.ButtonBuilder.CustomId"> <member name="P:Discord.ButtonBuilder.CustomId">
<summary> <summary>
@@ -5229,6 +5241,11 @@
Represents a class used to build <see cref="T:Discord.SelectMenuOption"/>'s. Represents a class used to build <see cref="T:Discord.SelectMenuOption"/>'s.
</summary> </summary>
</member> </member>
<member name="F:Discord.SelectMenuOptionBuilder.MaxLabelLength">
<summary>
The maximum length of a <see cref="P:Discord.SelectMenuOption.Label"/>.
</summary>
</member>
<member name="F:Discord.SelectMenuOptionBuilder.MaxDescriptionLength"> <member name="F:Discord.SelectMenuOptionBuilder.MaxDescriptionLength">
<summary> <summary>
The maximum length of a <see cref="P:Discord.SelectMenuOption.Description"/>. The maximum length of a <see cref="P:Discord.SelectMenuOption.Description"/>.
@@ -5238,7 +5255,7 @@
<summary> <summary>
Gets or sets the label of the current select menu. Gets or sets the label of the current select menu.
</summary> </summary>
<exception cref="T:System.ArgumentException" accessor="set"><see cref="P:Discord.SelectMenuOptionBuilder.Label"/> length exceeds <see cref="F:Discord.ComponentBuilder.MaxLabelLength"/></exception>
<exception cref="T:System.ArgumentException" accessor="set"><see cref="P:Discord.SelectMenuOptionBuilder.Label"/> length exceeds <see cref="F:Discord.SelectMenuOptionBuilder.MaxLabelLength"/></exception>
</member> </member>
<member name="P:Discord.SelectMenuOptionBuilder.Value"> <member name="P:Discord.SelectMenuOptionBuilder.Value">
<summary> <summary>
@@ -8645,7 +8662,25 @@
<summary> If <c>true</c>, a user may edit the webhooks for this guild. </summary> <summary> If <c>true</c>, a user may edit the webhooks for this guild. </summary>
</member> </member>
<member name="P:Discord.GuildPermissions.ManageEmojisAndStickers"> <member name="P:Discord.GuildPermissions.ManageEmojisAndStickers">
<summary> If <c>true</c>, a user may edit the emojis for this guild. </summary>
<summary> If <c>true</c>, a user may edit the emojis and stickers for this guild. </summary>
</member>
<member name="P:Discord.GuildPermissions.UseSlashCommands">
<summary> If <c>true</c>, a user may use slash commands in this guild. </summary>
</member>
<member name="P:Discord.GuildPermissions.RequestToSpeak">
<summary> If <c>true</c>, a user may request to speak in stage channels. </summary>
</member>
<member name="P:Discord.GuildPermissions.ManageThreads">
<summary> If <c>true</c>, a user may manage threads in this guild. </summary>
</member>
<member name="P:Discord.GuildPermissions.UsePublicThreads">
<summary> If <c>true</c>, a user may create public threads in this guild. </summary>
</member>
<member name="P:Discord.GuildPermissions.UsePrivateThreads">
<summary> If <c>true</c>, a user may create private threads in this guild. </summary>
</member>
<member name="P:Discord.GuildPermissions.UseExternalStickers">
<summary> If <c>true</c>, a user may use external stickers in this guild. </summary>
</member> </member>
<member name="M:Discord.GuildPermissions.#ctor(System.UInt64)"> <member name="M:Discord.GuildPermissions.#ctor(System.UInt64)">
<summary> Creates a new <see cref="T:Discord.GuildPermissions"/> with the provided packed value. </summary> <summary> Creates a new <see cref="T:Discord.GuildPermissions"/> with the provided packed value. </summary>
@@ -8653,10 +8688,10 @@
<member name="M:Discord.GuildPermissions.#ctor(System.String)"> <member name="M:Discord.GuildPermissions.#ctor(System.String)">
<summary> Creates a new <see cref="T:Discord.GuildPermissions"/> with the provided packed value after converting to ulong. </summary> <summary> Creates a new <see cref="T:Discord.GuildPermissions"/> with the provided packed value after converting to ulong. </summary>
</member> </member>
<member name="M:Discord.GuildPermissions.#ctor(System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
<member name="M:Discord.GuildPermissions.#ctor(System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
<summary> Creates a new <see cref="T:Discord.GuildPermissions"/> structure with the provided permissions. </summary> <summary> Creates a new <see cref="T:Discord.GuildPermissions"/> structure with the provided permissions. </summary>
</member> </member>
<member name="M:Discord.GuildPermissions.Modify(System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
<member name="M:Discord.GuildPermissions.Modify(System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean})">
<summary> Creates a new <see cref="T:Discord.GuildPermissions"/> from this one, changing the provided non-null permissions. </summary> <summary> Creates a new <see cref="T:Discord.GuildPermissions"/> from this one, changing the provided non-null permissions. </summary>
</member> </member>
<member name="M:Discord.GuildPermissions.Has(Discord.GuildPermission)"> <member name="M:Discord.GuildPermissions.Has(Discord.GuildPermission)">
@@ -8843,6 +8878,9 @@
Represents a color used in Discord. Represents a color used in Discord.
</summary> </summary>
</member> </member>
<member name="F:Discord.Color.MaxDecimalValue">
<summary> Gets the max decimal value of color. </summary>
</member>
<member name="F:Discord.Color.Default"> <member name="F:Discord.Color.Default">
<summary> Gets the default user color value. </summary> <summary> Gets the default user color value. </summary>
</member> </member>
@@ -8947,20 +8985,21 @@
Initializes a <see cref="T:Discord.Color"/> struct with the given raw value. Initializes a <see cref="T:Discord.Color"/> struct with the given raw value.
</summary> </summary>
<example> <example>
The following will create a color that has a hex value of
The following will create a color that has a hex value of
<see href="http://www.color-hex.com/color/607d8b">#607D8B</see>. <see href="http://www.color-hex.com/color/607d8b">#607D8B</see>.
<code language="cs"> <code language="cs">
Color darkGrey = new Color(0x607D8B); Color darkGrey = new Color(0x607D8B);
</code> </code>
</example> </example>
<param name="rawValue">The raw value of the color (e.g. <c>0x607D8B</c>).</param> <param name="rawValue">The raw value of the color (e.g. <c>0x607D8B</c>).</param>
<exception cref="T:System.ArgumentException">Value exceeds <see cref="F:Discord.Color.MaxDecimalValue"/>.</exception>
</member> </member>
<member name="M:Discord.Color.#ctor(System.Byte,System.Byte,System.Byte)"> <member name="M:Discord.Color.#ctor(System.Byte,System.Byte,System.Byte)">
<summary> <summary>
Initializes a <see cref="T:Discord.Color" /> struct with the given RGB bytes. Initializes a <see cref="T:Discord.Color" /> struct with the given RGB bytes.
</summary> </summary>
<example> <example>
The following will create a color that has a value of
The following will create a color that has a value of
<see href="http://www.color-hex.com/color/607d8b">#607D8B</see>. <see href="http://www.color-hex.com/color/607d8b">#607D8B</see>.
<code language="cs"> <code language="cs">
Color darkGrey = new Color((byte)0b_01100000, (byte)0b_01111101, (byte)0b_10001011); Color darkGrey = new Color((byte)0b_01100000, (byte)0b_01111101, (byte)0b_10001011);
@@ -8969,13 +9008,14 @@
<param name="r">The byte that represents the red color.</param> <param name="r">The byte that represents the red color.</param>
<param name="g">The byte that represents the green color.</param> <param name="g">The byte that represents the green color.</param>
<param name="b">The byte that represents the blue color.</param> <param name="b">The byte that represents the blue color.</param>
<exception cref="T:System.ArgumentException">Value exceeds <see cref="F:Discord.Color.MaxDecimalValue"/>.</exception>
</member> </member>
<member name="M:Discord.Color.#ctor(System.Int32,System.Int32,System.Int32)"> <member name="M:Discord.Color.#ctor(System.Int32,System.Int32,System.Int32)">
<summary> <summary>
Initializes a <see cref="T:Discord.Color"/> struct with the given RGB value. Initializes a <see cref="T:Discord.Color"/> struct with the given RGB value.
</summary> </summary>
<example> <example>
The following will create a color that has a value of
The following will create a color that has a value of
<see href="http://www.color-hex.com/color/607d8b">#607D8B</see>. <see href="http://www.color-hex.com/color/607d8b">#607D8B</see>.
<code language="cs"> <code language="cs">
Color darkGrey = new Color(96, 125, 139); Color darkGrey = new Color(96, 125, 139);
@@ -8991,7 +9031,7 @@
Initializes a <see cref="T:Discord.Color"/> struct with the given RGB float value. Initializes a <see cref="T:Discord.Color"/> struct with the given RGB float value.
</summary> </summary>
<example> <example>
The following will create a color that has a value of
The following will create a color that has a value of
<see href="http://www.color-hex.com/color/607c8c">#607c8c</see>. <see href="http://www.color-hex.com/color/607c8c">#607c8c</see>.
<code language="cs"> <code language="cs">
Color darkGrey = new Color(0.38f, 0.49f, 0.55f); Color darkGrey = new Color(0.38f, 0.49f, 0.55f);
@@ -9759,19 +9799,33 @@
Gets the identifier of this user's avatar. Gets the identifier of this user's avatar.
</summary> </summary>
</member> </member>
<member name="P:Discord.IUser.BannerId">
<summary>
Gets the identifier of this user's banner.
</summary>
</member>
<member name="P:Discord.IUser.AccentColor">
<summary>
Gets the user's banner color.
</summary>
<returns>
A <see cref="T:Discord.Color"/> struct representing the accent color of this user's banner.
</returns>
</member>
<member name="M:Discord.IUser.GetAvatarUrl(Discord.ImageFormat,System.UInt16)"> <member name="M:Discord.IUser.GetAvatarUrl(Discord.ImageFormat,System.UInt16)">
<summary> <summary>
Gets the avatar URL for this user. Gets the avatar URL for this user.
</summary> </summary>
<remarks> <remarks>
This property retrieves a URL for this user's avatar. In event that the user does not have a valid avatar This property retrieves a URL for this user's avatar. In event that the user does not have a valid avatar
(i.e. their avatar identifier is not set), this property will return <c>null</c>. If you wish to
(i.e. their avatar identifier is not set), this method will return <c>null</c>. If you wish to
retrieve the default avatar for this user, consider using <see cref="M:Discord.IUser.GetDefaultAvatarUrl"/> (see retrieve the default avatar for this user, consider using <see cref="M:Discord.IUser.GetDefaultAvatarUrl"/> (see
example). example).
</remarks> </remarks>
<example> <example>
<para>The following example attempts to retrieve the user's current avatar and send it to a channel; if one is
not set, a default avatar for this user will be returned instead.</para>
<para
>The following example attempts to retrieve the user's current avatar and send it to a channel; if one is
not set, a default avatar for this user will be returned instead.</para>
<code language="cs" region="GetAvatarUrl" <code language="cs" region="GetAvatarUrl"
source="..\..\..\Discord.Net.Examples\Core\Entities\Users\IUser.Examples.cs"/> source="..\..\..\Discord.Net.Examples\Core\Entities\Users\IUser.Examples.cs"/>
</example> </example>
@@ -9782,6 +9836,17 @@
A string representing the user's avatar URL; <c>null</c> if the user does not have an avatar in place. A string representing the user's avatar URL; <c>null</c> if the user does not have an avatar in place.
</returns> </returns>
</member> </member>
<member name="M:Discord.IUser.GetBannerUrl(Discord.ImageFormat,System.UInt16)">
<summary>
Gets the banner URL for this user.
</summary>
<param name="format">The format to return.</param>
<param name="size">The size of the image to return in. This can be any power of two between 16 and 2048.
</param>
<returns>
A string representing the user's avatar URL; <c>null</c> if the user does not have an banner in place.
</returns>
</member>
<member name="M:Discord.IUser.GetDefaultAvatarUrl"> <member name="M:Discord.IUser.GetDefaultAvatarUrl">
<summary> <summary>
Gets the default avatar URL for this user. Gets the default avatar URL for this user.
@@ -9849,8 +9914,8 @@
This method is used to obtain or create a channel used to send a direct message. This method is used to obtain or create a channel used to send a direct message.
<note type="warning"> <note type="warning">
In event that the current user cannot send a message to the target user, a channel can and will In event that the current user cannot send a message to the target user, a channel can and will
still be created by Discord. However, attempting to send a message will yield a
<see cref="T:Discord.Net.HttpException"/> with a 403 as its
still be created by Discord. However, attempting to send a message will yield a
<see cref="T:Discord.Net.HttpException"/> with a 403 as its
<see cref="P:Discord.Net.HttpException.HttpCode"/>. There are currently no official workarounds by <see cref="P:Discord.Net.HttpException.HttpCode"/>. There are currently no official workarounds by
Discord. Discord.
</note> </note>


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

@@ -9,11 +9,11 @@
<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>3.0.0-pre</Version>
<Version>3.0.1-pre</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>
<FileVersion>2.3.4</FileVersion>
<AssemblyVersion>3.0.1</AssemblyVersion>
<FileVersion>3.0.1</FileVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<DocumentationFile>..\Discord.Net.Rest\Discord.Net.Rest.xml</DocumentationFile> <DocumentationFile>..\Discord.Net.Rest\Discord.Net.Rest.xml</DocumentationFile>


+ 11
- 2
src/Discord.Net.Rest/Discord.Net.Rest.xml View File

@@ -4570,7 +4570,7 @@
</member> </member>
<member name="T:Discord.Rest.RestThreadUser"> <member name="T:Discord.Rest.RestThreadUser">
<summary> <summary>
Represents a thread user recieved over the REST api.
Represents a thread user received over the REST api.
</summary> </summary>
</member> </member>
<member name="P:Discord.Rest.RestThreadUser.Thread"> <member name="P:Discord.Rest.RestThreadUser.Thread">
@@ -4593,7 +4593,7 @@
Gets the guild user for this thread user. Gets the guild user for this thread user.
</summary> </summary>
<returns> <returns>
A task representing the asyncronous get operation. The task returns a
A task representing the asynchronous get operation. The task returns a
<see cref="T:Discord.IGuildUser"/> that represents the current thread user. <see cref="T:Discord.IGuildUser"/> that represents the current thread user.
</returns> </returns>
</member> </member>
@@ -4614,6 +4614,12 @@
<member name="P:Discord.Rest.RestUser.AvatarId"> <member name="P:Discord.Rest.RestUser.AvatarId">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.Rest.RestUser.BannerId">
<inheritdoc />
</member>
<member name="P:Discord.Rest.RestUser.AccentColor">
<inheritdoc />
</member>
<member name="P:Discord.Rest.RestUser.PublicFlags"> <member name="P:Discord.Rest.RestUser.PublicFlags">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -4656,6 +4662,9 @@
<member name="M:Discord.Rest.RestUser.GetAvatarUrl(Discord.ImageFormat,System.UInt16)"> <member name="M:Discord.Rest.RestUser.GetAvatarUrl(Discord.ImageFormat,System.UInt16)">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="M:Discord.Rest.RestUser.GetBannerUrl(Discord.ImageFormat,System.UInt16)">
<inheritdoc />
</member>
<member name="M:Discord.Rest.RestUser.GetDefaultAvatarUrl"> <member name="M:Discord.Rest.RestUser.GetDefaultAvatarUrl">
<inheritdoc /> <inheritdoc />
</member> </member>


+ 3
- 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>3.0.0-pre</Version>
<Version>3.0.1-pre</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>
@@ -16,6 +16,8 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<DocumentationFile>..\Discord.Net.WebSocket\Discord.Net.WebSocket.xml</DocumentationFile> <DocumentationFile>..\Discord.Net.WebSocket\Discord.Net.WebSocket.xml</DocumentationFile>
<AssemblyVersion>3.0.1</AssemblyVersion>
<FileVersion>3.0.1</FileVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;</DefineConstants> <DefineConstants>TRACE;</DefineConstants>


+ 48
- 1
src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml View File

@@ -4433,6 +4433,12 @@
<member name="P:Discord.WebSocket.SocketGroupUser.AvatarId"> <member name="P:Discord.WebSocket.SocketGroupUser.AvatarId">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketGroupUser.BannerId">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketGroupUser.AccentColor">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketGroupUser.Presence"> <member name="P:Discord.WebSocket.SocketGroupUser.Presence">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -4491,6 +4497,12 @@
<member name="P:Discord.WebSocket.SocketGuildUser.AvatarId"> <member name="P:Discord.WebSocket.SocketGuildUser.AvatarId">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketGuildUser.BannerId">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketGuildUser.AccentColor">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketGuildUser.GuildPermissions"> <member name="P:Discord.WebSocket.SocketGuildUser.GuildPermissions">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -4554,7 +4566,7 @@
Returns the position of the user within the role hierarchy. Returns the position of the user within the role hierarchy.
</summary> </summary>
<remarks> <remarks>
The returned value equal to the position of the highest role the user has, or
The returned value equal to the position of the highest role the user has, or
<see cref="F:System.Int32.MaxValue"/> if user is the server owner. <see cref="F:System.Int32.MaxValue"/> if user is the server owner.
</remarks> </remarks>
</member> </member>
@@ -4676,6 +4688,12 @@
<member name="P:Discord.WebSocket.SocketSelfUser.AvatarId"> <member name="P:Discord.WebSocket.SocketSelfUser.AvatarId">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketSelfUser.BannerId">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketSelfUser.AccentColor">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketSelfUser.Presence"> <member name="P:Discord.WebSocket.SocketSelfUser.Presence">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -4729,6 +4747,12 @@
<member name="P:Discord.WebSocket.SocketThreadUser.AvatarId"> <member name="P:Discord.WebSocket.SocketThreadUser.AvatarId">
<inheritdoc/> <inheritdoc/>
</member> </member>
<member name="P:Discord.WebSocket.SocketThreadUser.BannerId">
<inheritdoc/>
</member>
<member name="P:Discord.WebSocket.SocketThreadUser.AccentColor">
<inheritdoc/>
</member>
<member name="P:Discord.WebSocket.SocketThreadUser.DiscriminatorValue"> <member name="P:Discord.WebSocket.SocketThreadUser.DiscriminatorValue">
<inheritdoc/> <inheritdoc/>
</member> </member>
@@ -4836,6 +4860,12 @@
<member name="P:Discord.WebSocket.SocketUnknownUser.AvatarId"> <member name="P:Discord.WebSocket.SocketUnknownUser.AvatarId">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketUnknownUser.BannerId">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketUnknownUser.AccentColor">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketUnknownUser.IsBot"> <member name="P:Discord.WebSocket.SocketUnknownUser.IsBot">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -4866,6 +4896,12 @@
<member name="P:Discord.WebSocket.SocketUser.AvatarId"> <member name="P:Discord.WebSocket.SocketUser.AvatarId">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketUser.BannerId">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketUser.AccentColor">
<inheritdoc />
</member>
<member name="P:Discord.WebSocket.SocketUser.IsWebhook"> <member name="P:Discord.WebSocket.SocketUser.IsWebhook">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -4904,6 +4940,9 @@
<member name="M:Discord.WebSocket.SocketUser.GetAvatarUrl(Discord.ImageFormat,System.UInt16)"> <member name="M:Discord.WebSocket.SocketUser.GetAvatarUrl(Discord.ImageFormat,System.UInt16)">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="M:Discord.WebSocket.SocketUser.GetBannerUrl(Discord.ImageFormat,System.UInt16)">
<inheritdoc />
</member>
<member name="M:Discord.WebSocket.SocketUser.GetDefaultAvatarUrl"> <member name="M:Discord.WebSocket.SocketUser.GetDefaultAvatarUrl">
<inheritdoc /> <inheritdoc />
</member> </member>
@@ -4985,6 +5024,14 @@
<member name="P:Discord.WebSocket.SocketWebhookUser.AvatarId"> <member name="P:Discord.WebSocket.SocketWebhookUser.AvatarId">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="P:Discord.WebSocket.SocketWebhookUser.BannerId">
<inheritdoc />
<exception cref="T:System.NotSupportedException">Webhook users does not support banners.</exception>
</member>
<member name="P:Discord.WebSocket.SocketWebhookUser.AccentColor">
<inheritdoc />
<exception cref="T:System.NotSupportedException">Webhook users does not support accent colors.</exception>
</member>
<member name="P:Discord.WebSocket.SocketWebhookUser.IsBot"> <member name="P:Discord.WebSocket.SocketWebhookUser.IsBot">
<inheritdoc /> <inheritdoc />
</member> </member>


+ 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>3.0.1-pre$suffix$</version>
<version>3.0.2-pre$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="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="3.0.1-pre$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="3.0.1-pre$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="3.0.1-pre$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="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="3.0.1-pre$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="3.0.1-pre$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="3.0.1-pre$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="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="3.0.0-pre$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="3.0.1-pre$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="3.0.1-pre$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="3.0.1-pre$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