Browse Source

lint: remove commented-out code

This change removes the commented-out code which was added during testing from the previous commit.
pull/1455/head
Chris Johnston 5 years ago
parent
commit
f83657dab8
3 changed files with 0 additions and 6 deletions
  1. +0
    -2
      src/Discord.Net.WebSocket/Entities/Channels/SocketDMChannel.cs
  2. +0
    -2
      src/Discord.Net.WebSocket/Entities/Channels/SocketGroupChannel.cs
  3. +0
    -2
      src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs

+ 0
- 2
src/Discord.Net.WebSocket/Entities/Channels/SocketDMChannel.cs View File

@@ -235,8 +235,6 @@ namespace Discord.WebSocket
async Task<IUserMessage> IMessageChannel.SendFileAsync(Stream stream, string filename, string text, bool isTTS, Embed embed, RequestOptions options, bool isSpoiler)
=> await SendFileAsync(stream, filename, text, isTTS, embed, options, isSpoiler).ConfigureAwait(false);
/// <inheritdoc />
//async Task<IUserMessage> IMessageChannel.SendMessageAsync(string text, bool isTTS, Embed embed, RequestOptions options)
// => await SendMessageAsync(text, isTTS, embed, null, options).ConfigureAwait(false);
async Task<IUserMessage> IMessageChannel.SendMessageAsync(string text, bool isTTS, Embed embed, AllowedMentions allowedMentions, RequestOptions options)
=> await SendMessageAsync(text, isTTS, embed, allowedMentions, options).ConfigureAwait(false);



+ 0
- 2
src/Discord.Net.WebSocket/Entities/Channels/SocketGroupChannel.cs View File

@@ -299,8 +299,6 @@ namespace Discord.WebSocket
async Task<IUserMessage> IMessageChannel.SendFileAsync(Stream stream, string filename, string text, bool isTTS, Embed embed, RequestOptions options, bool isSpoiler)
=> await SendFileAsync(stream, filename, text, isTTS, embed, options, isSpoiler).ConfigureAwait(false);
/// <inheritdoc />
//async Task<IUserMessage> IMessageChannel.SendMessageAsync(string text, bool isTTS, Embed embed, RequestOptions options)
// => await SendMessageAsync(text, isTTS, embed, null, options).ConfigureAwait(false);
async Task<IUserMessage> IMessageChannel.SendMessageAsync(string text, bool isTTS, Embed embed, AllowedMentions allowedMentions, RequestOptions options)
=> await SendMessageAsync(text, isTTS, embed, allowedMentions, options).ConfigureAwait(false);



+ 0
- 2
src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs View File

@@ -308,8 +308,6 @@ namespace Discord.WebSocket
async Task<IUserMessage> IMessageChannel.SendFileAsync(Stream stream, string filename, string text, bool isTTS, Embed embed, RequestOptions options, bool isSpoiler)
=> await SendFileAsync(stream, filename, text, isTTS, embed, options, isSpoiler).ConfigureAwait(false);
/// <inheritdoc />
//async Task<IUserMessage> IMessageChannel.SendMessageAsync(string text, bool isTTS, Embed embed, RequestOptions options)
// => await SendMessageAsync(text, isTTS, embed, null, options).ConfigureAwait(false);
async Task<IUserMessage> IMessageChannel.SendMessageAsync(string text, bool isTTS, Embed embed, AllowedMentions allowedMentions, RequestOptions options)
=> await SendMessageAsync(text, isTTS, embed, allowedMentions, options).ConfigureAwait(false);



Loading…
Cancel
Save