{"repo":"jacklul/inlinegamesbot","free":true,"listed":false,"github":"https://github.com/jacklul/inlinegamesbot","clone":"git clone https://github.com/jacklul/inlinegamesbot.git","description":"A Telegram bot providing games that can be played in any chat via inline keyboards.","language":"PHP","stars":128,"topics":["bot","telegram-bot","games","php-telegram-bot","telegram"],"license":"AGPL-3.0","category":"chat-messaging","readme_excerpt":"Inline Games 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. The bot is currently hosted at DOM Cloud. Currently available games: - Tic-Tac-Toe - Tic-Tac-Four (@DO97) - Elephant XO (@DO97) - Connect Four - Rock-Paper-Scissors - Rock-Paper-Scissors-Lizard-Spock (@DO97) - Russian Roulette - Checkers - Pool Checkers Deploying Heroku Instructions 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 cron If this command times out too fast try using something like this instead: php -d max execution time=2700 bin/console cron Google Cloud Platform Instructions - Install dependencies with composer install - Copy env variables.example.yaml into env variables.yaml and fill out the details - Run the deployment command: gcloud app deploy --project YOUR-PROJECT-NAME-HERE app.yaml cron.yaml - Visit https://YOUR-PROJECT-NAME-HERE.appspot.com/admin?a=post-install to perform post-install tasks Fly.io Instructions - flyctl apps create - flyctl volumes create data --size=1 - flyctl secrets set BOT TOKEN= - flyctl secrets set BOT USERNAME= - flyctl secrets set BOT WEBHOOK=YOUR-APP-NAME.fly.d","default_branch":null,"files":null,"tree":[],"storefront":"/r/jacklul","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jacklul/inlinegamesbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}