Skip to content

Commit

Permalink
Renamed DiscordApiClient.CreateForumChannelAsync to CreateGuildForumC…
Browse files Browse the repository at this point in the history
…hannelAsync
  • Loading branch information
LaPepega committed Mar 20, 2024
1 parent 9ec6e31 commit 4351ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DisCatSharp/Entities/Guild/DiscordGuild.cs
Expand Up @@ -1384,7 +1384,7 @@ public Task<DiscordChannel> CreateTextChannelAsync(string name, DiscordChannel p
Optional<ChannelFlags?> flags = default,
string reason = null
)
=> this.Discord.ApiClient.CreateForumChannelAsync(this.Id, name, parent?.Id, topic, null, nsfw, defaultReactionEmoji, perUserRateLimit, postCreateUserRateLimit, defaultSortOrder, defaultLayout, defaultAutoArchiveDuration, overwrites, flags, reason);
=> this.Discord.ApiClient.CreateGuildForumChannelAsync(this.Id, name, parent?.Id, topic, null, nsfw, defaultReactionEmoji, perUserRateLimit, postCreateUserRateLimit, defaultSortOrder, defaultLayout, defaultAutoArchiveDuration, overwrites, flags, reason);

/// <summary>
/// Creates a new channel category in this guild.
Expand Down
2 changes: 1 addition & 1 deletion DisCatSharp/Net/Rest/DiscordApiClient.cs
Expand Up @@ -2364,7 +2364,7 @@ internal async Task<DiscordChannel> CreateGuildChannelAsync(ulong guildId, strin
/// <param name="defaultLayout">The default layout.</param>
/// <param name="flags">The channel flags.</param>
/// <param name="reason">The reason.</param>
internal async Task<DiscordChannel> CreateForumChannelAsync(
internal async Task<DiscordChannel> CreateGuildForumChannelAsync(
ulong guildId,
string name,
ulong? parent,
Expand Down

0 comments on commit 4351ecc

Please sign in to comment.