Skip to content

Discord bot that allows you to create RPG character descriptions using OpenAI's natural language processing capabilities. You can generate unique character backgrounds, traits, and more with just a simple command.

License

Notifications You must be signed in to change notification settings

itachi1621/RPG_Charachter_Creator_Discord_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG Character Maker

This Discord bot allows you to create RPG character descriptions using OpenAI's natural language processing capabilities. You can generate unique character backgrounds, traits, and more with just a simple command.

How to Use

To interact with the RPG Character Maker bot, use the following commands in your Discord server:

  • /version: Get information about the bot's version.
  • /create_character: Create a character by providing a character description, like Greg the bowler from Taiwan.
  • /create_item : Creates an item with stats and a description etc like sword of light, potion of healing
  • /helpme: Get help on how to use the bot.

Setup

Follow these steps to set up the Discord bot:

  1. Create a Discord Bot Go to the Discord Developer Portal. Click on New Application. Give your application a name (e.g., RPG Character Maker). Go to the Bot tab on the left sidebar and click Add Bot. Click on Copy Token under the bot username to get your DISCORD_BOT_TOKEN.
  2. Enable Intents Still in the Developer Portal, navigate to the Bot tab. Under Privileged Gateway Intents, enable the following intents:
  • Message Intent
  • Server Members Intent
  1. Set Environment Variables Create a .env file in the project directory with the following variables:
OPENAI_API_KEY = ""
DISCORD_BOT_TOKEN=""
OPEN_AI_CONFIG_FILE_LOC=".../configs/ USE FULL PATH to the config folder not relative e.g C:/USers/SAM/rpgbot/configs etc.. or /home/sam/rpgbot/configs...."
BOTNAME = "RPG Charahcter Maker"
VERSION = "1.0.4"
EMBED_COLOR = "0x0000FF"
  1. Install Dependencies Install the required Python packages using pip:
pip install -r requirements.txt
  1. Run the Bot Start the bot by running the following command in your terminal:
python RPF_Bot.py

Additional Notes

The bot uses OpenAI's GPT-3 model to generate character descriptions based on the provided input. Make sure to provide a clear and concise character description to get the best results. Feel free to contribute to this project and customize the bot according to your needs. Happy character creating! 🎲

About

Discord bot that allows you to create RPG character descriptions using OpenAI's natural language processing capabilities. You can generate unique character backgrounds, traits, and more with just a simple command.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages