This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Development has moved #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Issue Auto-Reply | |
| on: | |
| issues: | |
| types: [opened] | |
| permissions: | |
| issues: write | |
| jobs: | |
| auto-reply: | |
| if: >- | |
| github.event.issue.user.type != 'Bot' && | |
| github.event.issue.user.login != 'dvershinin' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const title = context.payload.issue.title || ''; | |
| const body = context.payload.issue.body || ''; | |
| const cyrillic = /[а-яА-ЯёЁ]/; | |
| const isRussian = cyrillic.test(title) || cyrillic.test(body); | |
| const en = `Thank you for opening this issue. | |
| **This project is maintained by a single developer in their free time.** | |
| Upstream TelegramMessenger/MTProxy is abandoned. This fork is the only actively maintained version. | |
| Continued development depends on community support: | |
| - **[GitHub Sponsors](https://github.com/sponsors/dvershinin)** — sponsors' issues are prioritized | |
| - **[Donate via Tribute](https://t.me/tribute/app?startapp=dHGI)** — cards, worldwide | |
| - **[YooMoney](https://yoomoney.ru/to/41001117748536)** — cards & wallets (Russia-friendly) | |
| - **[Boosty](https://boosty.to/getpagespeed)** | |
| - **TON**: \`UQBOGq_b3eL63Qfkj6ykoBibK3zGJDQzLK91v2q-UCY7BPeb\` (send via @wallet in Telegram) | |
| - **USDT (TRC-20)**: \`TNVSj1QjZ5jqdaeshe7VCpXWo2S1n936Hj\` | |
| - **BTC**: \`bc1qvxxldmanwggula7992uun5a2qxm65ej9h0unj7\` | |
| - **[GetPageSpeed RPM packages](https://www.getpagespeed.com/server-setup/mtproxy)** — production-ready install with support | |
| Issues without community interest may be closed after 60 days of inactivity.`; | |
| const ru = `Спасибо за обращение. | |
| **Этот проект поддерживается одним разработчиком в свободное время.** | |
| Upstream TelegramMessenger/MTProxy заброшен. Этот форк — единственная активно поддерживаемая версия. | |
| Развитие проекта зависит от поддержки сообщества: | |
| - **[GitHub Sponsors](https://github.com/sponsors/dvershinin)** — issues спонсоров рассматриваются в приоритете | |
| - **[Донат через Tribute](https://t.me/tribute/app?startapp=dHGA)** — карты, Россия | |
| - **[ЮMoney](https://yoomoney.ru/to/41001117748536)** — карты и кошельки | |
| - **[Boosty](https://boosty.to/getpagespeed)** | |
| - **TON**: \`UQBOGq_b3eL63Qfkj6ykoBibK3zGJDQzLK91v2q-UCY7BPeb\` (через @wallet в Telegram) | |
| - **USDT (TRC-20)**: \`TNVSj1QjZ5jqdaeshe7VCpXWo2S1n936Hj\` | |
| - **BTC**: \`bc1qvxxldmanwggula7992uun5a2qxm65ej9h0unj7\` | |
| - **[GetPageSpeed RPM-пакеты](https://www.getpagespeed.com/server-setup/mtproxy)** — установка для продакшена с поддержкой | |
| Issues без активности сообщества могут быть закрыты через 60 дней.`; | |
| await github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| body: isRussian ? ru : en | |
| }); |