You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
594 B
29 lines
594 B
2 years ago
|
# Hrochobot
|
||
|
Discord bot for KSP discord server.
|
||
|
|
||
|
## Installation
|
||
|
First install all required libraries:
|
||
|
```sh
|
||
|
pip install -r requirements.txt
|
||
|
```
|
||
|
|
||
|
Then create ``data`` folder from ``data.example``:
|
||
|
```sh
|
||
|
cp data.example data -r
|
||
|
```
|
||
|
Same for ``config.json``:
|
||
|
```sh
|
||
|
cp config.example.json config.json -r
|
||
|
```
|
||
|
|
||
|
Lastly paste your discord bot token into ``config.json``.
|
||
|
If you do not have any discord bot, learn how to create one here:
|
||
|
https://discordjs.guide/preparations/setting-up-a-bot-application.html#your-bot-s-token
|
||
|
|
||
|
|
||
|
## Running
|
||
|
To run the bot simply execute ``main.py``:
|
||
|
```sh
|
||
|
./main.py
|
||
|
```
|