Example #1
0
        private void TwitchClient_OnNewSubscriber(object sender, TwitchLib.Events.Client.OnNewSubscriberArgs e)
        {
            Task.Run(async() =>
            {
                try
                {
                    await Client.SendMessage($"Everyone welcome our newest channel subscriber: {e.Subscriber.DisplayName}. Thank you for your support!").ConfigureAwait(false);
                }

                catch (Exception ee)
                {
                    Logger.Error("Error in New Sub {Error}", ee.Message);
                }
            });
        }
Example #2
0
 private void Client_OnNewSubscriber(object sender, TwitchLib.Events.Client.OnNewSubscriberArgs e)
 {
     client.SendMessage($"/me Thanks {e.Subscriber.Name} for Following");
 }
Example #3
0
 private void Client_OnNewSubscriber(object sender, TwitchLib.Events.Client.OnNewSubscriberArgs e)
 {
     Client.SendMessage($"Thankyou @{e.Subscriber.Name} for subscribing!");
 }