Nucu-RPG-Bot/readme.md

60 lines
1.6 KiB
Markdown
Raw Normal View History

2024-01-24 15:10:58 +00:00
# Nucu's RPG Tools
2024-01-21 21:34:33 +00:00
⚠️ _Currently under development_
Nucu's table top role-playing game bot is a generic BOT 🤖 that aids your games.
It features:
2024-01-25 19:04:50 +00:00
- ✅ A custom dice roller and parser. 🎲
2024-01-21 21:34:33 +00:00
- ❌ Artificial Intelligence.
- ❌ Cooking, brewing and farming skills.
2024-01-23 20:33:59 +00:00
- ✅ A discord interface
2024-01-21 21:34:33 +00:00
- ❌ Telemetry (We don't do that here)
- ❌ Paid Content.
2024-01-22 19:36:59 +00:00
### Screenshots
![./docs/bot_dice_roll.png](./docs/bot_dice_roll.png)
2024-01-23 20:05:50 +00:00
# Running the bot
I've designed the bot to be run by yourself, and be configured via a configuration file.
2024-01-24 15:10:58 +00:00
pyenv
2024-01-25 19:04:50 +00:00
You can view the configuration file example in the project's root under the name [config.yaml](config.yaml).
The configuration file's location is the current directory and can be configured to something else with the
2024-01-23 20:05:50 +00:00
following environment variable:
Example:
```shell
export NUCUBOT_CONFIG=/PycharmProjects/NucusTTRPGBot/secrets/config.yaml
python -m src.main
```
2024-01-23 20:13:25 +00:00
2024-01-24 15:10:58 +00:00
# Running the bot on Raspberry PI
2024-01-25 19:04:50 +00:00
To run this bot on your Raspberry PI device you will need to:
1. Clone this repo:
```shell
2024-01-25 19:05:40 +00:00
git clone https://github.com/dnutiu/Nucu-RPG-Bot.git
2024-01-25 19:04:50 +00:00
```
2. Install Python 3.11+. I use [pyenv](https://github.com/pyenv/pyenv/wiki).
3. Create a Discord [application](https://discord.com/developers/applications) and grab the bot token.
I use the following permissions:
![discord app permissions](./docs/discord-permissions.png)
4. Add your bot's token to the [config.yaml](config.yaml).
5. Install bot dependencies with `pip install -r requirements.txt`
6. Run `python -m src.main`
7. Invite the bot to your Discord server.
---
2024-01-23 20:13:25 +00:00
Made with 💞 by [nuculabs.dev](https://blog.nuculabs.dev)