Files
RoyaltyITBot/README.md
2022-03-21 17:44:41 +03:00

1.3 KiB
Raw Blame History

RoyaltyIT-tg-bot

GitHub license GitHub stars magic

Этот бот создан специально для: @RoyaltyProject

Установка:

# Clone repository
$ git clone https://github.com/SantaSpeen/RoyaltyIT-tg-bot.git
# Change directory
$ cd src
# Install requirements
$ python3 -m pip install -r requirements.txt
# Create configuration file
# Then start the bot
$ python3 main.py

config.json example

{
  "bot_token": "BOT_TOKEN",
  "remote_chat": -1000,
  "static_message": {
    "start": {
      "allow": "private",
      "msg": "Привет, я бот \"Ял\".\nДля ознакомления с возможностями - /help"
    },
    "help": {
      "allow": "all",
      "msg": "Помощь уже в пути!"
    }
  }
}