mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-03 04:52:04 -04:00
Minor changes around logging and the stream stop message
This commit is contained in:
@@ -109,6 +109,7 @@ public class KickBot
|
||||
|
||||
private void BuildShuffle()
|
||||
{
|
||||
_logger.Debug("Building Shuffle");
|
||||
_shuffle = new Shuffle(_config.Proxy, _cancellationToken);
|
||||
_shuffle.OnLatestBetUpdated += ShuffleOnLatestBetUpdated;
|
||||
_shuffle.OnWsDisconnection += ShuffleOnWsDisconnection;
|
||||
@@ -195,7 +196,6 @@ public class KickBot
|
||||
_logger.Debug("Shuffle bet has arrived");
|
||||
if (bet.Username != "TheBossmanJack")
|
||||
{
|
||||
_logger.Debug("Ignoring irrelevant user");
|
||||
return;
|
||||
}
|
||||
_logger.Info("ALERT BMJ IS BETTING");
|
||||
@@ -286,7 +286,7 @@ public class KickBot
|
||||
|
||||
private void OnStopStreamBroadcast(object sender, KickModels.StopStreamBroadcastEventModel? e)
|
||||
{
|
||||
_sendChatMessage("The stream is so over. :lossmanjack:");
|
||||
_sendChatMessage("Dirt Devils felted. Stream is over. :lossmanjack:", true);
|
||||
}
|
||||
|
||||
private void OnKfChatMessage(object sender, List<MessageModel> messages, MessagesJsonModel jsonPayload)
|
||||
|
||||
Reference in New Issue
Block a user