Update docs to reflect IMessage->IUserMessage

As changed in 23a0316252
This commit is contained in:
Christopher F
2016-08-27 22:16:51 -04:00
parent 23a0316252
commit 8406bd8f73
12 changed files with 21 additions and 19 deletions

View File

@@ -2,6 +2,5 @@ public async Task SendMessageToChannel(ulong ChannelId)
{
var channel = await _client.GetChannelAsync(ChannelId) as IMessageChannel;
await channel?.SendMessageAsync("aaaaaaaaahhh!!!")
/* ^ This question mark is used to indicate that 'channel' may sometimes be null, and
in cases that it is null, we will do nothing here. */
/* ^ This question mark is used to indicate that 'channel' may sometimes be null, and in cases that it is null, we will do nothing here. */
}