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

feat: do not broadcast messages sent by the bot #269

Merged
merged 1 commit into from
Nov 26, 2023
Merged

feat: do not broadcast messages sent by the bot #269

merged 1 commit into from
Nov 26, 2023

Conversation

jamezrin
Copy link
Contributor

When reading a message from the team chat, a message is broadcasted if it is not a command, and it doesn't start with the RPP watermark.

The problem is that if you choose no watermark, every message sent by the bot will end up broadcasted to the messages channel, not ideal.

This PR makes it so that every message that is sent by the bot to the team chat is stored in a list and that list is checked to prevent the previously mentioned problem from happening.

@alexemanuelol alexemanuelol merged commit 6453a2d into alexemanuelol:master Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants