diff --git a/TwitchLib.Client/Interfaces/ITwitchClient.cs b/TwitchLib.Client/Interfaces/ITwitchClient.cs
index 54d0d040..dde4f5ff 100644
--- a/TwitchLib.Client/Interfaces/ITwitchClient.cs
+++ b/TwitchLib.Client/Interfaces/ITwitchClient.cs
@@ -402,7 +402,7 @@ public interface ITwitchClient
/// The channel.
/// The message.
/// if set to true [dry run].
- void SendMessage(JoinedChannel channel, string message, bool dryRun = false);
+ Task SendMessageAsync(JoinedChannel channel, string message, bool dryRun = false);
///
/// Sends the message.
@@ -410,7 +410,7 @@ public interface ITwitchClient
/// The channel.
/// The message.
/// if set to true [dry run].
- void SendMessage(string channel, string message, bool dryRun = false);
+ Task SendMessageAsync(string channel, string message, bool dryRun = false);
///
/// Sends a formatted Twitch chat message reply.
diff --git a/TwitchLib.Client/TwitchClient.cs b/TwitchLib.Client/TwitchClient.cs
index 42f7357e..27d01198 100644
--- a/TwitchLib.Client/TwitchClient.cs
+++ b/TwitchLib.Client/TwitchClient.cs
@@ -446,15 +446,16 @@ private void SendTwitchMessage(JoinedChannel channel, string message, string rep
}
///
- public void SendMessage(JoinedChannel channel, string message, bool dryRun = false)
+ public Task SendMessageAsync(JoinedChannel channel, string message, bool dryRun = false)
{
SendTwitchMessage(channel, message,null, dryRun);
+ return Task.CompletedTask;
}
///
- public void SendMessage(string channel, string message, bool dryRun = false)
+ public Task SendMessageAsync(string channel, string message, bool dryRun = false)
{
- SendMessage(GetJoinedChannel(channel), message, dryRun);
+ return SendMessageAsync(GetJoinedChannel(channel), message, dryRun);
}
///