Fixed deleting messages

This commit is contained in:
Brandon Smith
2015-09-29 17:44:46 -03:00
parent 197089b1e0
commit 390e3b3b42

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) { }