for Telegram.
@DailyGithubBot - https://t.me/dailygithubbot
- Copy the file
config.inc.example
toconfig.ini
and replace the bot token with your token. - Install the requirements:
pip3 install -r requirements.txt
- If you get an error for the telegram package, try running the command above with sudo.
- Run the bot:
python3 bot.py
- Config to enable the notification if there are no commits that day, instead of sending "No commits today". Currently, it's default to do nothing, but it would be good to give the users an option;
- Remove chat from the database if there's no activity for the past two weeks or so;
- Count commits on branches other than the Master branch;
- Try to get data from a user, instead of from an organization, if the username passed doesn't work for an org;