diff --git a/src/Discord.Net.Core/Entities/Channels/IChannel.cs b/src/Discord.Net.Core/Entities/Channels/IChannel.cs
index fbb979951..9471857eb 100644
--- a/src/Discord.Net.Core/Entities/Channels/IChannel.cs
+++ b/src/Discord.Net.Core/Entities/Channels/IChannel.cs
@@ -1,4 +1,5 @@
-using System.Collections.Generic;
+using System;
+using System.Collections.Generic;
using System.Threading.Tasks;
namespace Discord
@@ -8,6 +9,7 @@ namespace Discord
/// Gets the name of this channel.
string Name { get; }
+ [Obsolete("Deprecated, please use ITextChannel#IsNsfw instead")]
/// Checks if the channel is NSFW.
bool IsNsfw { get; }
diff --git a/src/Discord.Net.Core/Entities/Channels/ITextChannel.cs b/src/Discord.Net.Core/Entities/Channels/ITextChannel.cs
index 038faf6bc..0e67ebe80 100644
--- a/src/Discord.Net.Core/Entities/Channels/ITextChannel.cs
+++ b/src/Discord.Net.Core/Entities/Channels/ITextChannel.cs
@@ -8,6 +8,9 @@ namespace Discord
/// Gets the current topic for this text channel.
string Topic { get; }
+ /// Checks if the channel is NSFW.
+ new bool IsNsfw { get; }
+
/// Modifies this text channel.
Task ModifyAsync(Action func, RequestOptions options = null);
}
diff --git a/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs b/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
index 3353dc7b0..ed16dc192 100644
--- a/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
+++ b/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
@@ -78,6 +78,8 @@ namespace Discord.Rest
private string DebuggerDisplay => $"{Name} ({Id}, Text)";
+ bool ITextChannel.IsNsfw => ChannelHelper.IsNsfw(this);
+
//IMessageChannel
async Task IMessageChannel.GetMessageAsync(ulong id, CacheMode mode, RequestOptions options)
{
diff --git a/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs b/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs
index 1b351aae4..41f210245 100644
--- a/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs
+++ b/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs
@@ -112,6 +112,9 @@ namespace Discord.WebSocket
}
private string DebuggerDisplay => $"{Name} ({Id}, Text)";
+
+ bool ITextChannel.IsNsfw => ChannelHelper.IsNsfw(this);
+
internal new SocketTextChannel Clone() => MemberwiseClone() as SocketTextChannel;
//IGuildChannel