Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
discord-net committed Mar 15, 2024
1 parent d21d077 commit d205dbb
Show file tree
Hide file tree
Showing 14 changed files with 379 additions and 72 deletions.
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

3 changes: 3 additions & 0 deletions docs/api/Discord.Rest.RestGroupUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ <h1 id="Discord_Rest_RestGroupUser" data-uid="Discord.Rest.RestGroupUser" class=
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerId">RestUser.BannerId</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerColor">RestUser.BannerColor</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_AccentColor">RestUser.AccentColor</a>
</div>
Expand Down
3 changes: 3 additions & 0 deletions docs/api/Discord.Rest.RestGuildUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ <h1 id="Discord_Rest_RestGuildUser" data-uid="Discord.Rest.RestGuildUser" class=
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerId">RestUser.BannerId</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerColor">RestUser.BannerColor</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_AccentColor">RestUser.AccentColor</a>
</div>
Expand Down
3 changes: 3 additions & 0 deletions docs/api/Discord.Rest.RestSelfUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ <h1 id="Discord_Rest_RestSelfUser" data-uid="Discord.Rest.RestSelfUser" class="t
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerId">RestUser.BannerId</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerColor">RestUser.BannerColor</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_AccentColor">RestUser.AccentColor</a>
</div>
Expand Down
85 changes: 62 additions & 23 deletions docs/api/Discord.Rest.RestUser.html

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/api/Discord.Rest.RestWebhookUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ <h1 id="Discord_Rest_RestWebhookUser" data-uid="Discord.Rest.RestWebhookUser" cl
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerId">RestUser.BannerId</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_BannerColor">RestUser.BannerColor</a>
</div>
<div>
<a class="xref" href="Discord.Rest.RestUser.html#Discord_Rest_RestUser_AccentColor">RestUser.AccentColor</a>
</div>
Expand Down
32 changes: 32 additions & 0 deletions docs/api/Discord.SelfUserProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,38 @@ <h4 class="section">Property Value</h4>



<a id="Discord_SelfUserProperties_Banner_" data-uid="Discord.SelfUserProperties.Banner*"></a>

<h3 id="Discord_SelfUserProperties_Banner" data-uid="Discord.SelfUserProperties.Banner">
Banner
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.Core/Entities/Users/SelfUserProperties.cs/#L21"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Gets or sets the banner.</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Optional&lt;Image?&gt; Banner { get; set; }</code></pre>
</div>





<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Discord.Optional-1.html">Optional</a>&lt;<a class="xref" href="Discord.Image.html">Image</a>?&gt;</dt>
<dd></dd>
</dl>








<a id="Discord_SelfUserProperties_Username_" data-uid="Discord.SelfUserProperties.Username*"></a>

<h3 id="Discord_SelfUserProperties_Username" data-uid="Discord.SelfUserProperties.Username">
Expand Down
20 changes: 10 additions & 10 deletions docs/api/Discord.WebSocket.SocketGuild.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ <h4 class="section">Property Value</h4>

<h3 id="Discord_WebSocket_SocketGuild_AutoModRules" data-uid="Discord.WebSocket.SocketGuild.AutoModRules">
AutoModRules
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1979"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L2000"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Gets the auto moderation rules defined in this guild.</p>
Expand Down Expand Up @@ -2766,7 +2766,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_CreateAutoModRuleAsync_System_Action_Discord_AutoModRuleProperties__Discord_RequestOptions_" data-uid="Discord.WebSocket.SocketGuild.CreateAutoModRuleAsync(System.Action{Discord.AutoModRuleProperties},Discord.RequestOptions)">
CreateAutoModRuleAsync(Action&lt;AutoModRuleProperties&gt;, RequestOptions)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1966"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1987"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Creates a new auto moderation rule.</p>
Expand Down Expand Up @@ -3889,7 +3889,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_GetAutoModRule_System_UInt64_" data-uid="Discord.WebSocket.SocketGuild.GetAutoModRule(System.UInt64)">
GetAutoModRule(ulong)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1929"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1950"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Gets a single rule configured in a guild from cache. Returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if the rule was not found.</p>
Expand Down Expand Up @@ -3926,7 +3926,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_GetAutoModRuleAsync_System_UInt64_Discord_RequestOptions_" data-uid="Discord.WebSocket.SocketGuild.GetAutoModRuleAsync(System.UInt64,Discord.RequestOptions)">
GetAutoModRuleAsync(ulong, RequestOptions)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1950"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1971"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Gets a single rule configured in a guild. Returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if the rule was not found.</p>
Expand Down Expand Up @@ -3966,7 +3966,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_GetAutoModRulesAsync_Discord_RequestOptions_" data-uid="Discord.WebSocket.SocketGuild.GetAutoModRulesAsync(Discord.RequestOptions)">
GetAutoModRulesAsync(RequestOptions)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1958"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1979"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Get a list of all rules currently configured for the guild.</p>
Expand Down Expand Up @@ -4797,7 +4797,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_GetOnboardingAsync_Discord_RequestOptions_" data-uid="Discord.WebSocket.SocketGuild.GetOnboardingAsync(Discord.RequestOptions)">
GetOnboardingAsync(RequestOptions)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1986"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L2007"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Gets the onboarding object configured for the guild.</p>
Expand Down Expand Up @@ -5411,7 +5411,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_GetWelcomeScreenAsync_Discord_RequestOptions_" data-uid="Discord.WebSocket.SocketGuild.GetWelcomeScreenAsync(Discord.RequestOptions)">
GetWelcomeScreenAsync(RequestOptions)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L2259"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L2280"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Gets the welcome screen of the guild. Returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if the welcome channel is not set.</p>
Expand Down Expand Up @@ -5634,7 +5634,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_ModifyOnboardingAsync_System_Action_Discord_GuildOnboardingProperties__Discord_RequestOptions_" data-uid="Discord.WebSocket.SocketGuild.ModifyOnboardingAsync(System.Action{Discord.GuildOnboardingProperties},Discord.RequestOptions)">
ModifyOnboardingAsync(Action&lt;GuildOnboardingProperties&gt;, RequestOptions)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1994"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L2015"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Modifies the onboarding object configured for the guild.</p>
Expand Down Expand Up @@ -5674,7 +5674,7 @@ <h4 class="section">Returns</h4>

<h3 id="Discord_WebSocket_SocketGuild_ModifyWelcomeScreenAsync_System_Boolean_Discord_WelcomeScreenChannelProperties___System_String_Discord_RequestOptions_" data-uid="Discord.WebSocket.SocketGuild.ModifyWelcomeScreenAsync(System.Boolean,Discord.WelcomeScreenChannelProperties[],System.String,Discord.RequestOptions)">
ModifyWelcomeScreenAsync(bool, WelcomeScreenChannelProperties[], string, RequestOptions)
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L2263"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L2284"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Modifies the welcome screen of the guild. Returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if welcome screen is removed.</p>
Expand Down Expand Up @@ -6144,7 +6144,7 @@ <h4 class="section" id="Discord_WebSocket_SocketGuild_SearchUsersAsync_System_St

<h3 id="Discord_WebSocket_SocketGuild_ToString" data-uid="Discord.WebSocket.SocketGuild.ToString">
ToString()
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1906"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/discord-net/Discord.Net/blob/dev/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs/#L1927"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Gets the name of the guild.</p>
Expand Down
Loading

0 comments on commit d205dbb

Please sign in to comment.