/bot_dice

A simple dice-roller telegram bot with Python and Aiogram.

Primary LanguagePython

Telegram Dice Bot

Small telegram bot to roll dices with leader board.

Try out: https://t.me/roll3_bot

Install instructions

We use Python 3.8.

  1. Install poetry and project dependencies:
python3 -m pip install poetry==1.1.4
poetry env use 3.8
poetry install
  1. Run bot locally:
poetry run python src/bot.py

CI config

You need the following secrets in your repository settings:

  • SERVER_HOSTNAME -- your server host name or IP address.
  • SERVER_USERNAME -- your server user name.
  • ID_RSA_PRIVATE -- your ~/.ssh/id_rsa file contents to access server under provided user name.