-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
currently we have a mechanism to remove the messages containing specific words:
Lines 203 to 204 in 98cb061
| for rule in &self.config.bot.rules { | |
| for word in &rule.contains { |
we can extend this functionality to also prevent accounts with specific names from joining the group.
currently the configuration looks like this:
WiseAssBot/config-example.toml
Lines 10 to 13 in 98cb061
| [[bot.rules]] | |
| action = "block" | |
| contains = [ | |
| "bad word", |
to support this feature, a new action (e.g. block-join) can be introduced.
Metadata
Metadata
Assignees
Labels
No labels