Clone
1
Installation and basic usage
Cryz edited this page 2025-07-24 19:31:42 +02:00

Prepare the environment

python3 -m venv ~/.battle_royale
source ~/.battle_royale activate
pip install -r requirements/requirements.txt

Create a debug bot

  1. contact this bot, @BotFather and follow creation steps
  2. get the token from the bot
  3. echo 'TOKEN = "<MY_TOKEN>"' > local_settings.py

Run the Local debug

import main
main.local_debug()

Run on the local Bot

  1. python bot.py
  2. chat with the @bot

Commands of the Bot (WIP)

  • /start initialize the bot
  • /addplayer player name add a player to the game