diff --git a/src/Discord.Net.Core/Entities/Guilds/IGuild.cs b/src/Discord.Net.Core/Entities/Guilds/IGuild.cs index 3b35796b94..16a4d09165 100644 --- a/src/Discord.Net.Core/Entities/Guilds/IGuild.cs +++ b/src/Discord.Net.Core/Entities/Guilds/IGuild.cs @@ -480,7 +480,7 @@ public interface IGuild : IDeletable, ISnowflakeEntity /// A task that represents the asynchronous creation operation. The task result contains the newly created /// category channel. /// </returns> - Task<ICategoryChannel> CreateCategoryAsync(string name, Action<GuildChannelProperties> func = null, RequestOptions options = null); + Task<ICategoryChannel> CreateCategoryChannelAsync(string name, Action<GuildChannelProperties> func = null, RequestOptions options = null); /// <summary> /// Gets a collection of all the voice regions this guild can access. diff --git a/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs b/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs index a847998b54..d1e0361e3d 100644 --- a/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs +++ b/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs @@ -177,7 +177,7 @@ public async Task ReorderRolesAsync(IEnumerable<ReorderRoleProperties> args, Req role?.Update(model); } } - + /// <inheritdoc /> public Task LeaveAsync(RequestOptions options = null) => GuildHelper.LeaveAsync(this, Discord, options); @@ -777,7 +777,7 @@ async Task<ITextChannel> IGuild.CreateTextChannelAsync(string name, Action<TextC async Task<IVoiceChannel> IGuild.CreateVoiceChannelAsync(string name, Action<VoiceChannelProperties> func, RequestOptions options) => await CreateVoiceChannelAsync(name, func, options).ConfigureAwait(false); /// <inheritdoc /> - async Task<ICategoryChannel> IGuild.CreateCategoryAsync(string name, Action<GuildChannelProperties> func, RequestOptions options) + async Task<ICategoryChannel> IGuild.CreateCategoryChannelAsync(string name, Action<GuildChannelProperties> func, RequestOptions options) => await CreateCategoryChannelAsync(name, func, options).ConfigureAwait(false); /// <inheritdoc /> diff --git a/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs b/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs index ca2db1a77c..bb724cbaa5 100644 --- a/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs +++ b/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs @@ -1079,7 +1079,7 @@ async Task<ITextChannel> IGuild.CreateTextChannelAsync(string name, Action<TextC async Task<IVoiceChannel> IGuild.CreateVoiceChannelAsync(string name, Action<VoiceChannelProperties> func, RequestOptions options) => await CreateVoiceChannelAsync(name, func, options).ConfigureAwait(false); /// <inheritdoc /> - async Task<ICategoryChannel> IGuild.CreateCategoryAsync(string name, Action<GuildChannelProperties> func, RequestOptions options) + async Task<ICategoryChannel> IGuild.CreateCategoryChannelAsync(string name, Action<GuildChannelProperties> func, RequestOptions options) => await CreateCategoryChannelAsync(name, func, options).ConfigureAwait(false); /// <inheritdoc />