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

Reacting to a comment #1027

Open
awtkns opened this issue Mar 1, 2021 · 5 comments
Open

Reacting to a comment #1027

awtkns opened this issue Mar 1, 2021 · 5 comments

Comments

@awtkns
Copy link

awtkns commented Mar 1, 2021

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.

@staticdev
Copy link
Collaborator

@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

@awtkns
Copy link
Author

awtkns commented Mar 1, 2021

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'}
)

@staticdev
Copy link
Collaborator

@awtkns PRs are always welcome.

@ionicc
Copy link

ionicc commented Mar 28, 2021

@awtkns If you haven't started implementing this feature, I'll pick it up.

@awtkns
Copy link
Author

awtkns commented Mar 28, 2021

@ionicc I haven't unfortunately so its all yours.

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

No branches or pull requests

3 participants