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

github2telegram #7

Open
yelizariev opened this issue Aug 1, 2021 · 0 comments
Open

github2telegram #7

yelizariev opened this issue Aug 1, 2021 · 0 comments
Assignees

Comments

@yelizariev
Copy link
Contributor

yelizariev commented Aug 1, 2021

Python lib: https://github.com/eternnoir/pyTelegramBotAPI

The result should be PR with docs similar to this one: https://itpp.dev/chat/ifttt-to-telegram/index.html

Tools:

Spec:

  • Environment variables:
    • BOT_TOKEN - telegram token
    • GITHUB2TELEGRAM - mapping github logins to telegram ids, e.g. test_github:123,xxx:456
    • GROUP_1234 - github usernames separated by teams, e.g. user1,user2;user3,user4;user5,user6
      • 1234 is telegram group chat ID (use this bot to get telegram group id: t.me/itpp_myid_bot ). Note: telegram group chat id is negative
      • When a github user from one team mentions a user from another team, a message copy with the link to github is posted to the telegram group.
@yelizariev yelizariev assigned yelizariev and iledarn and unassigned yelizariev Sep 1, 2021
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

2 participants