Move DeleteMessagesAsync from IMessageChannel to ITextChannel (#829)

This commit is contained in:
Alex Gravely
2017-10-01 15:37:13 -04:00
committed by Christopher F
parent 347c5a0d39
commit e00f17fe55
10 changed files with 7 additions and 40 deletions

View File

@@ -181,7 +181,7 @@ namespace Discord.Rest
return RestUserMessage.Create(client, channel, client.CurrentUser, model);
}
public static async Task DeleteMessagesAsync(IMessageChannel channel, BaseDiscordClient client,
public static async Task DeleteMessagesAsync(ITextChannel channel, BaseDiscordClient client,
IEnumerable<ulong> messageIds, RequestOptions options)
{
var msgs = messageIds.ToArray();