diff --git a/src/Discord.Net.Core/Extensions/DiscordClientExtensions.cs b/src/Discord.Net.Core/Extensions/DiscordClientExtensions.cs
index ff3c7caf7..03d736c6e 100644
--- a/src/Discord.Net.Core/Extensions/DiscordClientExtensions.cs
+++ b/src/Discord.Net.Core/Extensions/DiscordClientExtensions.cs
@@ -1,24 +1,31 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Discord
{
+ /// Extensions for .
public static class DiscordClientExtensions
{
+ /// Gets the private channel with the provided ID.
public static async Task GetPrivateChannelAsync(this IDiscordClient client, ulong id)
=> await client.GetChannelAsync(id).ConfigureAwait(false) as IPrivateChannel;
+ /// Gets the DM channel with the provided ID.
public static async Task GetDMChannelAsync(this IDiscordClient client, ulong id)
=> await client.GetPrivateChannelAsync(id).ConfigureAwait(false) as IDMChannel;
+ /// Gets all available DM channels for the client.
public static async Task> GetDMChannelsAsync(this IDiscordClient client)
=> (await client.GetPrivateChannelsAsync().ConfigureAwait(false)).Select(x => x as IDMChannel).Where(x => x != null);
+ /// Gets the group channel with the provided ID.
public static async Task GetGroupChannelAsync(this IDiscordClient client, ulong id)
=> await client.GetPrivateChannelAsync(id).ConfigureAwait(false) as IGroupChannel;
+ /// Gets all available group channels for the client.
public static async Task> GetGroupChannelsAsync(this IDiscordClient client)
=> (await client.GetPrivateChannelsAsync().ConfigureAwait(false)).Select(x => x as IGroupChannel).Where(x => x != null);
+ /// Gets the most optimal voice region for the client.
public static async Task GetOptimalVoiceRegionAsync(this IDiscordClient discord)
{
var regions = await discord.GetVoiceRegionsAsync().ConfigureAwait(false);
diff --git a/src/Discord.Net.Core/Extensions/EmbedBuilderExtensions.cs b/src/Discord.Net.Core/Extensions/EmbedBuilderExtensions.cs
index 5ad8d8b1d..90eaf90ad 100644
--- a/src/Discord.Net.Core/Extensions/EmbedBuilderExtensions.cs
+++ b/src/Discord.Net.Core/Extensions/EmbedBuilderExtensions.cs
@@ -2,6 +2,7 @@ using System;
namespace Discord
{
+ /// Extensions for building an embed.
public static class EmbedBuilderExtensions
{
/// Adds embed color based on the provided raw value.