Browse Source

Fix some function names

pull/1923/head
quin lynch 3 years ago
parent
commit
db9dcdb237
3 changed files with 9 additions and 9 deletions
  1. +3
    -3
      src/Discord.Net.Core/Entities/Channels/IStageChannel.cs
  2. +3
    -3
      src/Discord.Net.Rest/Entities/Channels/RestStageChannel.cs
  3. +3
    -3
      src/Discord.Net.WebSocket/Entities/Channels/SocketStageChannel.cs

+ 3
- 3
src/Discord.Net.Core/Entities/Channels/IStageChannel.cs View File

@@ -77,7 +77,7 @@ namespace Discord
/// <returns>
/// A task that represents the asynchronous request to speak operation.
/// </returns>
Task RequestToSpeak(RequestOptions options = null);
Task RequestToSpeakAsync(RequestOptions options = null);

/// <summary>
/// Makes the current user become a speaker within a stage.
@@ -105,7 +105,7 @@ namespace Discord
/// <returns>
/// A task that represents the asynchronous move operation.
/// </returns>
Task MoveToSpeaker(IGuildUser user, RequestOptions options = null);
Task MoveToSpeakerAsync(IGuildUser user, RequestOptions options = null);

/// <summary>
/// Removes a user from speaking.
@@ -115,6 +115,6 @@ namespace Discord
/// <returns>
/// A task that represents the asynchronous remove operation.
/// </returns>
Task RemoveFromSpeaker(IGuildUser user, RequestOptions options = null);
Task RemoveFromSpeakerAsync(IGuildUser user, RequestOptions options = null);
}
}

+ 3
- 3
src/Discord.Net.Rest/Entities/Channels/RestStageChannel.cs View File

@@ -96,7 +96,7 @@ namespace Discord.Rest
}

/// <inheritdoc/>
public Task RequestToSpeak(RequestOptions options = null)
public Task RequestToSpeakAsync(RequestOptions options = null)
{
var args = new API.Rest.ModifyVoiceStateParams()
{
@@ -129,7 +129,7 @@ namespace Discord.Rest
}

/// <inheritdoc/>
public Task MoveToSpeaker(IGuildUser user, RequestOptions options = null)
public Task MoveToSpeakerAsync(IGuildUser user, RequestOptions options = null)
{
var args = new API.Rest.ModifyVoiceStateParams()
{
@@ -141,7 +141,7 @@ namespace Discord.Rest
}

/// <inheritdoc/>
public Task RemoveFromSpeaker(IGuildUser user, RequestOptions options = null)
public Task RemoveFromSpeakerAsync(IGuildUser user, RequestOptions options = null)
{
var args = new API.Rest.ModifyVoiceStateParams()
{


+ 3
- 3
src/Discord.Net.WebSocket/Entities/Channels/SocketStageChannel.cs View File

@@ -109,7 +109,7 @@ namespace Discord.WebSocket
}

/// <inheritdoc/>
public Task RequestToSpeak(RequestOptions options = null)
public Task RequestToSpeakAsync(RequestOptions options = null)
{
var args = new API.Rest.ModifyVoiceStateParams()
{
@@ -142,7 +142,7 @@ namespace Discord.WebSocket
}

/// <inheritdoc/>
public Task MoveToSpeaker(IGuildUser user, RequestOptions options = null)
public Task MoveToSpeakerAsync(IGuildUser user, RequestOptions options = null)
{
var args = new API.Rest.ModifyVoiceStateParams()
{
@@ -154,7 +154,7 @@ namespace Discord.WebSocket
}

/// <inheritdoc/>
public Task RemoveFromSpeaker(IGuildUser user, RequestOptions options = null)
public Task RemoveFromSpeakerAsync(IGuildUser user, RequestOptions options = null)
{
var args = new API.Rest.ModifyVoiceStateParams()
{


Loading…
Cancel
Save