We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could you please add support for muting. I presume the extra command could be something ike:
:mute Username or :mute #HashTag
Then all tweets/retweets from the user or with the hashtag won't be shown in the stream. Then :unmute would reverse the action.
Thank you!
The text was updated successfully, but these errors were encountered:
Here is my draft of mute plugin :).
Earthquake.once do @muting_screen_names ||= [] end Earthquake.init do output_filter do |item| next unless item["_stream"] item["user"] && !@muting_screen_names.include?(item["user"]["screen_name"]) end command :mute do |m| (@muting_screen_names << m[1].delete(?@)).uniq! end command :unmute do @muting_screen_names.clear end end
Sorry, something went wrong.
👍
No branches or pull requests
Could you please add support for muting. I presume the extra command could be something ike:
:mute Username or
:mute #HashTag
Then all tweets/retweets from the user or with the hashtag won't be shown in the stream. Then :unmute would reverse the action.
Thank you!
The text was updated successfully, but these errors were encountered: