Stars: 102
Forks: 121
Pull Requests: 13
Issues: 23
Watchers: 8
Last Updated: 2023-06-16 10:10:18
A Telegram bot providing games that can be played in any chat via inline keyboards.
License: GNU Affero General Public License v3.0
Languages: PHP, Shell, Procfile
A Telegram bot that provides real-time multiplayer games that can be played in any chat.
You can see the bot in action by messaging @inlinegamesbot.
Currently hosted on Fly.io platform.
Use this button to begin deployment:
Assuming everything was entered correctly your bot should be instantly working - if it's not you should try running php bin/console post-install inside the app.
You will also want to add Heroku Scheduler addon and set up a hourly task to run the following command to clean up expired games from the database:
php bin/console cronIf this command times out too fast try using something like this instead: php -d max_execution_time=2700 bin/console cron
composer installenv_variables.example.yaml into env_variables.yaml and fill out the detailsgcloud app deploy --project YOUR-PROJECT-NAME-HERE app.yaml cron.yamlhttps://YOUR-PROJECT-NAME-HERE.appspot.com/admin?a=post-install to perform post-install tasksflyctl apps createflyctl volumes create data --size=1flyctl secrets set BOT_TOKEN=flyctl secrets set BOT_USERNAME=flyctl secrets set BOT_WEBHOOK=YOUR-APP-NAME.fly.devflyctl secrets set BOT_SECRET=web: line in Procfileflyctl deployTranslations support is implemented but it is not used mainly because translated text would be displayed to both players - this could be problematic in "gaming" groups - people setting language that other player can't understand!
See CONTRIBUTING for more information.
See LICENSE.