/commit-observer

This project has the purpose to automate a bet made with my friends (and practice some python).

Primary LanguagePython

What does this project do?

It will check (in a list made by you!) if each user did Commit to Github today or not!

Then, it shall print a message formatted to Discord Bots/Webhooks tagging each person in the list, informing whether they did or didn't commit today.

Currently using Pipedream to trigger this code everyday and send the message to a Discord server using a webhook

The output message should look like this:

:no_entry_sign: <@76542112632143233> **DID NOT COMMIT** :no_entry_sign:
:white_check_mark: <@431348922175832044> **DID COMMIT** :white_check_mark:

And here is what it looks like on Discord:

🚫 @Silva DID NOT COMMIT🚫
@Gakj DID COMMIT

Why does this project exist?

This project was made as a means to automate a bet made with friends in an effort to increase our productivity, and now you can do the same with your friends (or by yourself)!

It is designed to help you form a coding habit, thus it's best used with some form of additional drawback for not commiting (ex: having to do X amount of pushups).

This way, it tackles the reward part of habit forming, giving you extra motivation to code, as it is more unsatisfying to face the drawbacks then it is not to code. (For a more in-depth explanation, read through James Clear's "Atomic Habits")