Beispiel #1
0
 private void Client_OnEmoteOnly(object sender, OnEmoteOnlyArgs e)
 {
     Core.LOG(new LogEntry(LOGSEVERITY.INFO, EXTENSIONNAME,
                           $"{_twitchChannelName} :: OnEmoteOnly."
                           ));
 }
 /// <summary>
 /// Passes <see cref="OnEmoteOnly"/> events down to subscribed plugins.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">An <see cref="OnEmoteOnlyArgs"/> object.</param>
 private void TwitchPubSub_OnEmoteOnly(object sender, OnEmoteOnlyArgs e) => OnEmoteOnly?.Invoke(this, e);
 public static void TwitchPubSubOnOnEmoteOnly(object sender, OnEmoteOnlyArgs e)
 {
     _client.SendMessage("kungraseri", $"emote mode on, ran by {e.Moderator}!");
 }
 private void Pub_OnEmoteOnly(object sender, OnEmoteOnlyArgs e)
 {
     Debug.Log(e.Moderator);
 }
 private void PubSub_OnEmoteOnly(object sender, OnEmoteOnlyArgs e)
 {
     _logger.Information($"{e.Moderator} enabled emote only mode");
 }
Beispiel #6
0
 public void OnEmoteOnlyOnEvent(OnEmoteOnlyArgs args)
 {
     this.OnEmoteOnly?.Invoke(this, args);
 }