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

已关闭
ialbert1周前创建 · 0 条评论
ialbert 评论于 1周前

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.
ialbert6 天前 关闭
登陆 并参与到对话中。
未选择标签
未选择里程碑
未指派成员
1 名参与者
到期时间

未设置到期时间。

依赖工单

此工单当前没有任何依赖。

正在加载...
取消
保存
这个人很懒,什么都没留下。