Skip to content

Commit

Permalink
docs: update bot_cli_args.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orenlab committed Nov 22, 2024
1 parent c5f01dd commit 621b55c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/bot_cli_args.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ argument you can use when starting the bot.
| `--webhook` | `str` | `False` | `True`, `False` | Start the bot in webhook mode. Useful for receiving updates via HTTP callbacks. |
| `--socket_host` | `str` | `127.0.0.1` | N/A | Define the host address for the socket to listen on in webhook mode. Default is localhost. |
| `--plugins` | `list` | `[]` | N/A | Specify a list of plugins to load when starting the bot. Separate multiple plugins with spaces. |
| `--salt` | `str` | `False` | N/A | Generate unique salt for using it in TOTP auth |

## 📄 Required Configurations

Expand Down Expand Up @@ -47,10 +48,10 @@ command:
python main.py --mode dev --log-level DEBUG --plugins monitor
```

To run the bot in production mode with webhook support and colorized logs, use:
To run the bot in production mode with webhook support, use:

```bash
python main.py --mode prod --webhook True --colorize_logs True
python main.py --mode prod --webhook True
```

📜 Notes
Expand Down

0 comments on commit 621b55c

Please sign in to comment.