|
@@ -471,7 +471,6 @@ namespace Discord.API |
|
|
endpoint = () => $"channels/{channelId}/messages?limit={limit}"; |
|
|
endpoint = () => $"channels/{channelId}/messages?limit={limit}"; |
|
|
return await SendAsync<IReadOnlyCollection<Message>>("GET", endpoint, ids, options: options).ConfigureAwait(false); |
|
|
return await SendAsync<IReadOnlyCollection<Message>>("GET", endpoint, ids, options: options).ConfigureAwait(false); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public async Task<Message> CreateMessageAsync(ulong channelId, CreateMessageParams args, RequestOptions options = null) |
|
|
public async Task<Message> CreateMessageAsync(ulong channelId, CreateMessageParams args, RequestOptions options = null) |
|
|
{ |
|
|
{ |
|
|
Preconditions.NotNull(args, nameof(args)); |
|
|
Preconditions.NotNull(args, nameof(args)); |
|
|