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

Shout out users who have contributed to GitHub today (4pm check?) - user must set their GitHub username #71

Closed
eddiejaoude opened this issue Jun 16, 2020 · 7 comments
Projects

Comments

@eddiejaoude
Copy link
Member

eddiejaoude commented Jun 16, 2020

dependent on #60

This feature seems really cool! I was thinking that maybe the bot runs a job (just a function) at a certain time, or after X time has passed (this could be configured). That job is responsible for handling that logic, some steps would be:

Read users collection and filter out users without a github username (this should be a field but we need to confirm on the DB schema)
Use GitHub API to make the HTTP requests necessary to know when the user last contributed. These links might be useful

#71 (comment)

@eddiejaoude eddiejaoude created this issue from a note in Bot v0.1 (To do) Jun 16, 2020
@mikeysan
Copy link
Member

[delete after reading] Did you mean "shout" instead of "should" in the title?

@eddiejaoude
Copy link
Member Author

Thanks @mikeysan, you are right! 👍

@eddiejaoude eddiejaoude changed the title Should out users who have contributed to GitHub today (4pm check?) - user must set their GitHub username Shout out users who have contributed to GitHub today (4pm check?) - user must set their GitHub username Jun 24, 2020
@BOLT04
Copy link
Member

BOLT04 commented Jun 24, 2020

This feature seems really cool! I was thinking that maybe the bot runs a job (just a function) at a certain time, or after X time has passed (this could be configured). That job is responsible for handling that logic, some steps would be:

  • Read users collection and filter out users without a github username (this should be a field but we need to confirm on the DB schema)
  • Use GitHub API to make the HTTP requests necessary to know when the user last contributed. These links might be useful

What implementations were you guys thinking?

@eddiejaoude
Copy link
Member Author

Oh nice idea 👍 . I will add it to the issue description

@github-actions
Copy link

Stale issue message

@eddiejaoude
Copy link
Member Author

I really like this idea 👍 .

I wonder if I can add something to my live stream to get GitHub events during the live stream. In the map project I had Discord events showing on the right hand side, but I think it would be better to show GitHub events https://github.com/EddieJaoudeCommunity/EddieBotMap

Bot v0.1 automation moved this from To do to Done Sep 24, 2020
@BOLT04 BOLT04 reopened this Sep 24, 2020
@BOLT04 BOLT04 moved this from Done to To do in Bot v0.1 Sep 24, 2020
@eddiejaoude
Copy link
Member Author

Thanks @BOLT04 . Stalebot should not be closing ones with recent activity 🤷‍♂️

@github-actions github-actions bot closed this as completed Oct 2, 2020
Bot v0.1 automation moved this from To do to Done Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Bot v0.1
  
Done
Development

No branches or pull requests

3 participants