-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
add message reactions #459
Conversation
Codecov Report
@@ Coverage Diff @@
## master #459 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 18 18
Lines 1095 1104 +9
=====================================
+ Hits 1095 1104 +9
Continue to review full report at Codecov.
|
This looks great! You're missing a test for the case where |
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.
The code looks good and the tests are passing now. So it just needs adding to the docs and it's good to go!
Sorry, but i'm not sure of where to put this in the documentation. As I writed:
And the documentation is in the other PR: opsdroid/connector-slack#10 So, if we have to add it here, where you would add it? |
Since this is a new method of the connector class I think the right place for it would be in the connector documentation Hope this helps 👍 |
Awesome many thanks! |
Description
This PR add reaction capabilities to opsdroid, adding a new
react
method inMessage
andConnector
.By default it just log a debug message and return False, but can be implemented by connectors that have react capabilities (like Slack or Github).
Fixes #442
Status
READY
Type of change
(By now it will be documented in the Slack connector, because it will be the only one that implements it)
How Has This Been Tested?
I tested and checked that the new
react
methods returns False as expected.Checklist: