Пример #1
0
 private void Client_OnEmoteOnlyOff(object sender, OnEmoteOnlyOffArgs e)
 {
     Core.LOG(new LogEntry(LOGSEVERITY.INFO, EXTENSIONNAME,
                           $"{_twitchChannelName} :: OnEmoteOnlyOff."
                           ));
 }
 /// <summary>
 /// Passes <see cref="OnEmoteOnlyOff"/> events down to subscribed plugins.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">An <see cref="OnEmoteOnlyOffArgs"/> object.</param>
 private void TwitchPubSub_OnEmoteOnlyOff(object sender, OnEmoteOnlyOffArgs e) => OnEmoteOnlyOff?.Invoke(this, e);
 private void PubSub_OnEmoteOnlyOff(object sender, OnEmoteOnlyOffArgs e)
 {
     _logger.Information($"{e.Moderator} disabled emote only mode");
 }
Пример #4
0
 public static void TwitchPubSubOnOnEmoteOnlyOff(object sender, OnEmoteOnlyOffArgs e)
 {
     _client.SendMessage("kungraseri", $"emote mode off, ran by {e.Moderator}!");
 }
Пример #5
0
 public void OnEmoteOnlyOffEvent(OnEmoteOnlyOffArgs args)
 {
     this.OnEmoteOnlyOff?.Invoke(this, args);
 }