User:Switchnode

From Archiveteam
Jump to navigation Jump to search

Gee, those bot channels sure are noisy!

If you'd like them to be quieter and you use Weechat, try these. (Don't forget to save!)

#archivebot

#archivebot shouldn't be considered a reliable chat channel. But...

Hide all bot responses except those directed at you:

  • /trigger add tag_highlights line "" "${highlight} == 1" "/$/highlight,/tags" (tags highlights)
  • /filter add archivebot_bots irc.hackint.#archivebot nick_Aramaki+!highlight,nick_socialbot+!highlight *

Hide bot commands other than archive, archiveonly, and snscrape, except yours:

  • /filter add archivebot_commands irc.hackint.#archivebot !self_msg ^!([^a]|abort)

Or, hide all bot commands except yours:

  • /filter add archivebot_commands irc.hackint.#archivebot !self_msg ^(!|socialbot)

#telegrab

Hide bot responses other than the 'scanning' message and the final item count:

  • /filter add telegrab_h2ibot irc.hackint.#telegrab nick_h2ibot !(^h2ibot:|: No public index)

Hide all bot responses except those directed at you:

(This is complicated because it needs to be stateful, due to the way h2ibot 'talks to itself'. It may fumble if you and others are submitting jobs at the same time, but this is rare, self-limiting, and easily elucidated with /filter toggle telegrab_bot.)
  • /trigger add telegrab_bot_on line "1003|*;irc.hackint.#telegrab;self_msg" "${message} =~ ^!a" "" "/mute /set plugins.var.trigger.telegrab_bot.on 1" (starts listening)
  • /trigger add telegrab_bot_off line "1001|*;irc.hackint.#telegrab;nick_h2ibot" "(${highlight} && (${message} =~ : Invalid command message.$)) || (${message} =~ h2ibot: Deduplicated and queued [[:digit:]]+ items.)" "" "/mute /set plugins.var.trigger.telegrab_bot.on 0" (stops listening)
  • /trigger add telegrab_bot_tag line "1002|*;irc.hackint.#telegrab;nick_h2ibot" "${plugins.var.trigger.telegrab_bot.on}" "/$/listen,/tags"</nowiki> (tags listened messages)
  • /filter add telegrab_bot irc.hackint.#telegrab nick_h2ibot+!listen *

Hide all bot commands except yours:

  • /filter add telegrab_commands irc.hackint.#telegrab !self_msg ^!