Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
/ dungeons Public archive

Tools for online dungeons and dragons, including dice rolling and Discord integration.

License

Notifications You must be signed in to change notification settings

cadojo/dungeons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to dungeons!

Tools for online dungeons and dragons, including dice rolling, Open5e searching, and Discord integration.

Overview

This project is no longer in development. It was developed as a fun side project, with the purpose of practicing Python programming. Check out Avrae by DndBeyond for a collection of open source DnD tools, including a Discord bot!

This package includes a single Discord bot, DnD-Assistant, written in Python with discord.py.

DnD-Assistant can...

  1. Roll dice

  2. Relay messages to other users on the Discord server

  3. Search Open5e for information related to spells, monsters, classes, weapons, and more

Credits

Please give them a star!

Issues

This project is currently in beta, if you find any bugs please submit them as issues, or send them via email.

Setup and Installation

If you're just looking to add a bot with Open5e search functionality, you can simply add the public bot Oghma on top.gg!

Otherwise, the current method for installing DnD-Assistant is from source.

  1. Add a bot to your Discord account (it's recommended you use the bot name "DnD-Assistant")

  2. Install Python 3.8

  3. Clone dungeons

git clone https://github.com/cadojo/dungeons/
  1. Install the python3.8 dependencies
# CD into wherever you cloned dungeons
cd dungeons

# Install pipenv if you haven't already
python3.8 -m pip install --upgrade pip
python3.8 -m pip install pipenv

# Install all dependencies to a virtual environment
pipenv install
  1. Add contents to dungeons/assistant/.env
# Environment variables for DnD-Assistant
DISCORD_TOKEN=your-token-id-here
DISCORD_GUILD=your-guild-name-here
TOP_LEVEL_PATH=/path/to/dungeons
AUTHOR=name-of-author
  1. Run the bot!
# Load the virtual environment
pipenv shell

# Run the bot
python assistant/bot.py

About

Tools for online dungeons and dragons, including dice rolling and Discord integration.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages