diff --git a/src/Discord.Net.Core/Discord.Net.Core.xml b/src/Discord.Net.Core/Discord.Net.Core.xml index d0298b1e7..8372d7184 100644 --- a/src/Discord.Net.Core/Discord.Net.Core.xml +++ b/src/Discord.Net.Core/Discord.Net.Core.xml @@ -1743,7 +1743,7 @@ Gets the parent (category) ID of this channel in the guild's channel list. - A representing the snowflake identifier of the parent of this channel; + A representing the snowflake identifier of the parent of this channel; null if none is set. @@ -1788,6 +1788,50 @@ metadata object containing information for the created invite. + + + Creates a new invite to this channel. + + + The following example creates a new invite to this channel; the invite lasts for 12 hours and can only + be used 3 times throughout its lifespan. + + await guildChannel.CreateInviteAsync(maxAge: 43200, maxUses: 3); + + + The id of the embedded application to open for this invite + The time (in seconds) until the invite expires. Set to null to never expire. + The max amount of times this invite may be used. Set to null to have unlimited uses. + If true, the user accepting this invite will be kicked from the guild after closing their client. + If true, don't try to reuse a similar invite (useful for creating many unique one time use invites). + The options to be used when sending the request. + + A task that represents the asynchronous invite creation operation. The task result contains an invite + metadata object containing information for the created invite. + + + + + Creates a new invite to this channel. + + + The following example creates a new invite to this channel; the invite lasts for 12 hours and can only + be used 3 times throughout its lifespan. + + await guildChannel.CreateInviteAsync(maxAge: 43200, maxUses: 3); + + + The id of the user whose stream to display for this invite + The time (in seconds) until the invite expires. Set to null to never expire. + The max amount of times this invite may be used. Set to null to have unlimited uses. + If true, the user accepting this invite will be kicked from the guild after closing their client. + If true, don't try to reuse a similar invite (useful for creating many unique one time use invites). + The options to be used when sending the request. + + A task that represents the asynchronous invite creation operation. The task result contains an invite + metadata object containing information for the created invite. + + Gets a collection of all invites to this channel. @@ -5297,6 +5341,11 @@ The invite is for a Go Live stream. + + + The invite is for embedded application. + + Represents a Discord snowflake entity. @@ -8532,6 +8581,11 @@ Gets the members of this team. + + + Gets the name of this team. + + Gets the user identifier that owns this team. diff --git a/src/Discord.Net.Rest/Discord.Net.Rest.xml b/src/Discord.Net.Rest/Discord.Net.Rest.xml index 361f27b57..465d5085f 100644 --- a/src/Discord.Net.Rest/Discord.Net.Rest.xml +++ b/src/Discord.Net.Rest/Discord.Net.Rest.xml @@ -1656,6 +1656,24 @@ must be lesser than 86400. + + + may not be equal to zero. + -and- + and must be greater than zero. + -and- + must be lesser than 86400. + + + + + may not be equal to zero. + -and- + and must be greater than zero. + -and- + must be lesser than 86400. + + Message content is too long, length must be less or equal to . @@ -2313,7 +2331,7 @@ A paged collection containing a collection of guild users that can access this channel. Flattening the - paginated response into a collection of users with + paginated response into a collection of users with is required if you wish to access the users. @@ -2524,6 +2542,12 @@ + + + + + + @@ -4052,6 +4076,9 @@ + + + diff --git a/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml b/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml index 5d7acb74d..dc128527d 100644 --- a/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml +++ b/src/Discord.Net.WebSocket/Discord.Net.WebSocket.xml @@ -2304,6 +2304,12 @@ + + + + + + @@ -2400,6 +2406,12 @@ + + + + + +