Skip to content
New issue

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

automod: Allow message triggers to match message content #44

Closed
Arcensoth opened this issue Aug 25, 2021 · 0 comments · Fixed by #46
Closed

automod: Allow message triggers to match message content #44

Arcensoth opened this issue Aug 25, 2021 · 0 comments · Fixed by #46
Assignees
Labels
enhancement New feature or request

Comments

@Arcensoth
Copy link
Member

Similar to how the reaction trigger has a reactions field built-in, it would be useful for message to have a basic content field for exact matches. This would allow users to effectively create custom commands through automod using an exact text match.

@Arcensoth Arcensoth added the enhancement New feature or request label Aug 25, 2021
@Arcensoth Arcensoth self-assigned this Aug 25, 2021
Arcensoth added a commit that referenced this issue Aug 28, 2021
- Even data now includes `user` fields. (fixes #43)
- Even data now include member date fields by default.
- `message` triggers now allow basic matching of message content. (fixes #44)
Arcensoth added a commit that referenced this issue Aug 30, 2021
* Update to Python 3.10 and discord.py 2.0 beta

* Bump alpha version

* Update ping

* Update status

* Update and improve/compact quote

* Update kick

* Update poster_board

* Update jira

* Update vote

* Update pack

* Update and improve `roles`

- Unresolved roles are now deregistered and cleaned-up automatically. (fixes #47)
- Elevated commands can no longer add/remove unregistered roles to/from users. (fixes #48)
- Users can now join/leave multiple roles in one command. (fixes #49)
- Multiple roles can now be added/removed to/from multiple members all in one command.
- Roles can now be targeted using a partial name match. (fixes #50)

* Implement finer-grained permissions for `roles` (fixes #18)

* Update `invite`

* Update `faq`

* Update and improve `automod`

- Even data now includes `user` fields. (fixes #43)
- Even data now include member date fields by default.
- `message` triggers now allow basic matching of message content. (fixes #44)

* Update `help_chat`

* Update readme

* Account for threads in `faq`

* Account for threads in `automod`

* Update `manifest`

* Make commanderbot-ext independent

This involves moving the bot core from cb-core to cb-ext, removing the dependency, and restructuring the imports.

* Update black and isort

* Support `allowed_mentions` in root bot config (fixes #52)

* Move root module

* Update imports

* Update extensions

* Update readme

* Update changelog

* Update codeowners

* Update pyproject.toml

* Update readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant