Fix attempts to fetch channels in interactions (#2090)

* fix attempts to fetch channels in interactions

* remove test case
This commit is contained in:
Quin Lynch
2022-02-09 00:12:41 -04:00
committed by GitHub
parent 97e54e1047
commit 6290f75359
3 changed files with 39 additions and 50 deletions

View File

@@ -17,6 +17,10 @@ namespace Discord.WebSocket
/// <summary>
/// The <see cref="ISocketMessageChannel"/> this interaction was used in.
/// </summary>
/// <remarks>
/// If the channel isn't cached or the bot doesn't have access to it then
/// this property will be <see langword="null"/>.
/// </remarks>
public ISocketMessageChannel Channel { get; private set; }
/// <summary>