A Telegram bot providing games that can be played in any chat via inline keyboards.
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.
php bin/console post-install
inside the app.php bin/console cron
php -d max_execution_time=2700 bin/console cron
composer install
env_variables.example.yaml
into env_variables.yaml
and fill out the detailsgcloud app deploy --project YOUR-PROJECT-NAME-HERE app.yaml cron.yaml
https://YOUR-PROJECT-NAME-HERE.appspot.com/admin?a=post-install
to perform post-install tasksflyctl 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.dev
flyctl secrets set BOT_SECRET=
web:
line in Procfile
flyctl deploy
.env.example
into .env
and fill out the details.env
and crontab
to /home/<your-website-name>/config
directory on the FTPcrontab
will require modifications - use full paths to the script - e.g.: /home/<your-website-name>/public_html/bin/console
source: 'https://github.com/jacklul/inlinegamesbot'
commands:
- 'test -f ../config/.env && cp -f ../config/.env .'
- 'test -f ../config/config.php && cp -f ../config/config.php . || exit 0'
- 'composer install --no-dev --optimize-autoloader --ignore-platform-reqs'
- 'php bin/console install'
- 'php bin/console set'
- 'test -f ../config/crontab && cat ../config/crontab | crontab - || exit 0'
features:
- ssl
- 'php 7.4'
Translations 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.