A simple(?) RPG adventure game Discord bot written using the discord.py library.
All the assets used for this bot are made using AI.
Tools used:
This bot provides an RPG adventure game experience on Discord. The game can be played by users on a Discord server.
Follow these steps to install the bot on your Windows machine:
- Install the Microsoft C++ Build Tools.
- Install Git.
- Clone this repository by running the following command in your terminal:
git clone https://github.com/madkarmaa/rpg-discord-bot.git
- Go to the directory where you cloned the repository:
cd C:\path\to\rpg-discord-bot-whateverBranch
- Create a Python environment:
python -m venv your-environment-name
- Activate the environment using the following command:
your-environment-name\Scripts\activate.bat
- Install the dependencies by running the following command:
pip install -r requirements.txt
- Create a file named
.env
in the same directory asmain.py
by running the following commands:
cd . > .env
notepad .env
- Add the following content to the
.env
file and save it:
TOKEN=
TEST_GUILD=
TOKEN
sould be your bot's token (get one in the Discord Developer Portal).
TEST_GUILD
should be the ID of the server you want to test the bot in.
- Start the bot by running the following command:
python main.py