Welcome to the repository of NoPlayersFound, a revolutionary Discord bot that brings your Dungeons & Dragons gaming sessions to the next level. NoPlayersFound utilizes the power of OpenAI's GPT-4 model to simulate a highly immersive AI-driven Dungeon Master, elevating your role-play experiences and pushing the boundaries of in-game storytelling.
Engage in gripping adventures and encounter mysterious creatures as the AI Dungeon Master breathes life into your D&D games. Whether you're a noble knight, a cunning rogue, or a wise wizard, your every action influences the unfolding narrative.
Simply input your character's actions or dialogues into the Discord chat, and the AI Dungeon Master will respond with detailed narratives, NPC interactions, and the outcomes of your choices, adding depth and unpredictability to your gaming experience. The NoPlayersFound works seamlessly, using natural language processing to understand player inputs and generate the DM's response in real-time.
At present, the AI bot maintains the last 50 messages in the conversation history, enabling a consistent storyline. However, please note that it is currently not designed to handle multiple concurrent games or conversations.
Immerse yourself in this enchanting AI-powered role-play adventure and let the game come alive with NoPlayersFound!
Usage
-To interact with the bot, start your message with !chat and then write the scenario or question. The bot will generate a response, create a related image, and post it in the channel.
Installation
-Clone the repository.
-Install the required dependencies using pip install -r requirements.txt.
-Set up the environment variables in a .env file. You'll need to provide your Discord API key and OpenAI API key.
-Run the bot using python chatbot.py.
Dependencies
Python 3.8+
discord.py
openai
aiohttp
python-dotenv
Pillow