Bot pro KSP Discord
Find a file
Daniel Skýpala 00c6b36344 News: Search news by id
And not by index. There would be bazzilion mistakes that way.
2023-11-05 23:48:35 +01:00
bin News: Add news 2023-11-05 22:42:49 +01:00
cobuild hrochobot.service: Set HROCHOBOT_ETC 2023-04-16 18:55:05 +02:00
common Container build system 2023-04-16 17:57:36 +02:00
data.example Added example files 2023-03-30 14:45:28 +02:00
hrochobot News: Search news by id 2023-11-05 23:48:35 +01:00
.gitignore Added example files 2023-03-30 14:45:28 +02:00
config.example.json Added example files 2023-03-30 14:45:28 +02:00
README.md Added README 2023-03-30 15:17:30 +02:00
requirements.txt Added requirements.txt 2023-03-30 14:54:03 +02:00
setup.py Install as Python package 2023-04-16 17:38:45 +02:00

Hrochobot

Discord bot for KSP discord server.

Installation

First install all required libraries:

pip install -r requirements.txt

Then create data folder from data.example:

cp data.example data -r

Same for config.json:

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:

./main.py