Discord RPG Bot Starter Kit
This is a simple starter project for building an RPG bot with Discord!
It will show how you can :
- Set up role-based classes.
- Assign special skills and spells by class
- Track user stats, gold and EXP.
- Run an inventory and economy system for items.
- Build a quest game loop into your server, including attacking and simple enemy AI
- Give items and gold to other players
Before you begin
This app uses this Airtable base as a starting point.
To add it to your account, duplicate this base.
Also, since this app uses the
guild.member.add event, be sure you have Privileged Intents turned on:
Playing the game
Once you've installed this app, you'll need to join the game.
New guild members will automatically be entered into the game when they join your server.
For existing members you can use the
Your RPG bot will then DM you to choose a class.
There are 3 example classes set up, each with their own unique role and abilities.
You can choose from the Knight, the Wizard and the Archer.
To see all of the commands that are set up for this bot, you can type
There are two ways of gaining gold and EXP: being an active member in chat and going on quests with
For quests you'll be able to fight 2 basic enemies: Slimes and Skellies.
As you fight, you might take damage! Be sure to
/shop for 🧪 Potions and ⚗️ Ethers to heal your HP and MP.
If you get knocked out, you won't be able to do any more quests. You'll need to get your hands on a 🦀 Revival Crab.
Once in your possesion you can trigger the
If you're feeling generous you can
/give gold or
/give item to gift someone in your server.
This project is meant to show off some of the basics of building an RPG, but there is plenty of room to expand upon!
I can't wait to see what adventures you build :D