#33 [ENH] Exclude certain channels and/or users from events

Zamknięty
otworzone 1 tydzień temu przez ialbert · 0 komentarzy
ialbert skomentował 1 tydzień temu

Loose idea, but have the ability to exclude certain channels or users or user types from certain kinds of events, perhaps globally.

Use cases:

  • Other bots posting messages that then lead to log events in Rocketbot
  • A channel where automated posts are generated leading to events in Rocketbot
  • Mods typing filtered words
  • Certain privileged users typing filtered words

Perhaps add a centralized function to BaseCog for easily doing boilerplate exclusions.

May need different kinds of boilerplate exclusions, depending on what the cog is looking for. Maybe have 2-3 types. Use cases:

  • Ordinary member posting a filtered word (proceed with event)
  • Mod posting a filtered word (ignore event)
  • Mod reacting to a bot message to trigger an action (proceed)
  • Bot doing almost anything (ignore)
  • Event triggered by Rocketbot itself (ignore)
  • Mods commenting in a mod channel (possibly ignore for privacy reasons)

Some rules can be baked in but others should be configurable. Think about what that division might look like and what simple-but-powerful configuration might make sense.

Loose idea, but have the ability to exclude certain channels or users or user types from certain kinds of events, perhaps globally. Use cases: - Other bots posting messages that then lead to log events in Rocketbot - A channel where automated posts are generated leading to events in Rocketbot - Mods typing filtered words - Certain privileged users typing filtered words Perhaps add a centralized function to BaseCog for easily doing boilerplate exclusions. May need different kinds of boilerplate exclusions, depending on what the cog is looking for. Maybe have 2-3 types. Use cases: - Ordinary member posting a filtered word (proceed with event) - Mod posting a filtered word (ignore event) - Mod reacting to a bot message to trigger an action (proceed) - Bot doing almost anything (ignore) - Event triggered by Rocketbot itself (ignore) - Mods commenting in a mod channel (possibly ignore for privacy reasons) Some rules can be baked in but others should be configurable. Think about what that division might look like and what simple-but-powerful configuration might make sense.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak etykiety
Brak kamienia milowego
Brak przypisanych
1 uczestników
Due Date

No due date set.

Zależności

This issue currently doesn't have any dependencies.

Ładowanie…
Anuluj
Zapisz
Nie ma jeszcze treści.