Browse Source

Fixed deleting messages

tags/docs-0.9
Brandon Smith 9 years ago
parent
commit
390e3b3b42
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/DiscordClient.API.cs

+ 1
- 1
src/Discord.Net/DiscordClient.API.cs View File

@@ -357,7 +357,7 @@ namespace Discord

try
{
await _api.DeleteMessage(channelId, msgId).ConfigureAwait(false);
await _api.DeleteMessage(msgId, channelId).ConfigureAwait(false);
_messages.TryRemove(msgId);
}
catch (HttpException ex) when (ex.StatusCode == HttpStatusCode.NotFound) { }


Loading…
Cancel
Save