-
Notifications
You must be signed in to change notification settings - Fork 59
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
fix: MM remote improvements #519
Conversation
The scheduler would never trigger, because the MM remote never populated the list of rooms the bot can talk in. The bot should now support the output_rooms option in rules.
Helps simplify the code to call the function once instead of running through all the steps to create a direct message every time.
thanks for the PR, i'll review over the next few days! |
Thank you, Only thing is that I couldn't run the lint target. golangci-lint would freeze and use all my cpu. |
Oh, yikes. That's new. I'll see if I encounter that as well. Thanks for the heads up. |
Pull Request Test Coverage Report for Build 11582981152Details
💛 - Coveralls |
the linter ran, if you want to fix up the issues from that. seems like mostly minor style issues. i will run some tests on mattermost in the meantime. i did run golangci-lint locally ( thanks again for the contribution. |
stuff like cuddled assignements, unnessisary new lines, and putting the context argument first in function parameters
I must of annoyed the computer goblins or something. Here's what it looks like using the example scheduler rule Changes are pushed. I'll probably make another MR when I want to add reactions. |
oh the channels are specified with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry to bother with such minor feedback. some super quick consistency edits and this is good to go. tested each functionality! nice work.
note to self, maybe for docs it would be good to call out that you need to prefix username with team and provide in <team>/<username>
format. docs are going to get moved shortly here, so we can just create an issue for now.
Sentence case is not consistent with the rest of the log messages, lowercase is preferred. Co-authored-by: david may <[email protected]>
Minor feedback is welcome. It Suggestions applied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
Proposed change
Update the MM remote so it supports
Types of changes
What types of changes is this pull request introducing to flottbot?
Checklist
You can fill this out after creating your PR. Put an
x
in the boxes that apply