DiscordRPG is a Python-based role-playing game bot for Discord that lets users interact and play within a text-based RPG environment directly in their Discord server.
- Clone the Repository
git clone https://github.com/DrDehydratedWater/DiscordRPG.git
cd DiscordRPG
- Create a Virtual Environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate
- Install Dependencies
pip install -r requirements.txt
-
Set Up Bot Token
Create a file
secret/bot_token.env
.Add your Discord bot token to the file:
YOUR_BOT_TOKEN
-
Run the Bot
python main.py
- Initialize the Bot:
!initialize
- Ping the Bot:
!ping
- Move Your Character:
!move <direction> <amount>
- Rest to Recharge Energy:
!rest <amount>
- Look Around:
!look
- Talk to NPCs:
!talk <npc>
- Set Your Character's Name:
!name <name>
- Leave/Enter Buildings:
!leave <place> / !enter <place>
- Check Your Stats:
!stats
- Get Help:
!help