示例#1
0
 private void onBeingHosted(object sender, OnBeingHostedArgs e)
 {
     MessageBox.Show($"Hosted by: {e.HostedByChannel}\nViewers: {e.Viewers}\nAutohost: {e.IsAutoHosted}");
 }
示例#2
0
 private void Client_OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     Console.WriteLine("You got hosted by " + e.BeingHostedNotification.HostedByChannel + "  with  " + e.BeingHostedNotification.Viewers + "  viewers");
 }
示例#3
0
 public static void OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
 }
示例#4
0
 private void Client_OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     client.SendMessage(e.BeingHostedNotification.Channel, ":O " + e.BeingHostedNotification.HostedByChannel + " is hosting us! Woop Woop");
 }
示例#5
0
 /// <summary>
 /// Called when the channel is being hosted by another channel.
 /// </summary>
 private void Client_OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     Console.WriteLine($"[{e.BeingHostedNotification.Channel}] Channel is being hosted by {e.BeingHostedNotification.HostedByChannel}. ({e.BeingHostedNotification.Viewers} viewers)");
     client.SendMessage(e.BeingHostedNotification.Channel, $"Thank you {e.BeingHostedNotification.HostedByChannel} for the host!");
 }
 private async void Client_OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     await _eventProxy.PublishAsync(new TwitchBeingHostedNotification(this, e.BeingHostedNotification))
     .ConfigureAwait(false);
 }
示例#7
0
 private void Client_OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     throw new NotImplementedException();
 }
示例#8
0
 private void Client_OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     // TODO : Message chat with a thank you and link to there Twitch
 }
示例#9
0
 private void Client_OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     Console.WriteLine($"(HOST) {e.BeingHostedNotification.HostedByChannel} is hosting with {e.BeingHostedNotification.Viewers}");
     client.SendMessage(TwitchInfo.ChannelName, $"Thanks for bring {e.BeingHostedNotification.Viewers} viewers in with the Host {e.BeingHostedNotification.HostedByChannel}");
 }
 private void OnBeingHosted(object sender, OnBeingHostedArgs e)
 {
     QueueMessage($"Thank you for hosting, {e.BeingHostedNotification.HostedByChannel}!!");
 }