github3.py
github3.py copied to clipboard
Reacting to a comment
Is there currently a way to react to an issue comment (eg: eyes or 1+ emote)? If so I haven't found it in the documentation.
If not I would be happy to do its implementation.
@awtkns actually not.. you won't see reactions implemented on this lib.
You can find references here https://docs.github.com/en/rest/reference/reactions
Time permitting would you want me to PR this feature? I was able to workaround it for now with the following:
issue._post(
issue._api + '/reactions',
data={"content": 'eyes'},
headers={'Accept': 'application/vnd.github.squirrel-girl-preview+json'}
)
@awtkns PRs are always welcome.
@awtkns If you haven't started implementing this feature, I'll pick it up.
@ionicc I haven't unfortunately so its all yours.