Browse Source

Removes unneeded whitespace

pull/962/head
Darnell Williams 7 years ago
parent
commit
c1c9e1c463
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      src/Discord.Net.Rest/DiscordRestApiClient.cs
  2. +0
    -1
      src/Discord.Net.WebSocket/DiscordSocketApiClient.cs

+ 0
- 1
src/Discord.Net.Rest/DiscordRestApiClient.cs View File

@@ -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));


+ 0
- 1
src/Discord.Net.WebSocket/DiscordSocketApiClient.cs View File

@@ -207,7 +207,6 @@ namespace Discord.API
await RequestQueue.SendAsync(new WebSocketRequest(WebSocketClient, null, bytes, true, options)).ConfigureAwait(false); await RequestQueue.SendAsync(new WebSocketRequest(WebSocketClient, null, bytes, true, options)).ConfigureAwait(false);
await _sentGatewayMessageEvent.InvokeAsync(opCode).ConfigureAwait(false); await _sentGatewayMessageEvent.InvokeAsync(opCode).ConfigureAwait(false);
} }

public async Task SendIdentifyAsync(int largeThreshold = 100, int shardID = 0, int totalShards = 1, RequestOptions options = null) public async Task SendIdentifyAsync(int largeThreshold = 100, int shardID = 0, int totalShards = 1, RequestOptions options = null)
{ {


Loading…
Cancel
Save