Open Svyatoslav2 opened 3 years ago
Could you clone this repository to your local machine instead install module?
Probably the name with the dash was the problem. Python module name with dashes can't be import.
Then change import module name to commitTelegramBot
in repository directory:
- from commit-telegram-bot import commitTelegramBot
+ from commitTelegramBot import CommitTelegramBot
telegram_id
is not telegram username. find message.chat.id
field using /getUpdates
Telegram bot API:
- bot = CommitTelegramBot('github_token', 'github_username', 'telegram_token', 'telegram_id')
+ bot = CommitTelegramBot('github_token', 'github_username', 'telegram_token', 'chat_id')
If you are unfamiliar reading the Telegram API documentation, get this by chat with @get_id_bot
Thanks for report issue. 🙇🏻♂️
The source of the master
branch only target to your own repositories commits.
If you want to find more contributions list (ex. opended issue/PR and commits from other user/origanization repositories.) switching branch to update-useage
branch:
Is this really a working option? I did as you wrote, but your project doesn't work, is this all the code needed for this task?