Fixed DeleteMessages

This commit is contained in:
RogueException
2015-10-16 23:12:51 -03:00
parent 345a78aa35
commit b3dbfd8f84

View File

@@ -435,7 +435,7 @@ namespace Discord
{
try
{
await _api.DeleteMessage(msg.ChannelId, msg.Id).ConfigureAwait(false);
await _api.DeleteMessage(msg.Id, msg.ChannelId).ConfigureAwait(false);
}
catch (HttpException ex) when (ex.StatusCode == HttpStatusCode.NotFound) { }
}
@@ -449,7 +449,7 @@ namespace Discord
{
try
{
await _api.DeleteMessage(channelId, msgId).ConfigureAwait(false);
await _api.DeleteMessage(msgId, channelId).ConfigureAwait(false);
}
catch (HttpException ex) when (ex.StatusCode == HttpStatusCode.NotFound) { }
}