fix: Crosspost throwing InvalidOperationException (#1671)

* Add INewsChannel

* Renaming variable to match the new type
This commit is contained in:
Paulo
2020-11-08 19:29:15 -03:00
committed by GitHub
parent 1e012ac0b8
commit 9134443494
6 changed files with 16 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ namespace Discord.WebSocket
/// </note>
/// </remarks>
[DebuggerDisplay(@"{DebuggerDisplay,nq}")]
public class SocketNewsChannel : SocketTextChannel
public class SocketNewsChannel : SocketTextChannel, INewsChannel
{
internal SocketNewsChannel(DiscordSocketClient discord, ulong id, SocketGuild guild)
:base(discord, id, guild)