Update How To Use
@@ -1,2 +1,19 @@
|
||||
**Prepare the environment**
|
||||
```
|
||||
python3 -m venv ~/.battle_royale
|
||||
source ~/.battle_royale activate
|
||||
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()
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user