Skip to content

onerandomusername/monty-python

Repository files navigation

Monty Python

Based off of multiple open source projects, Monty is a development tool for Discord servers. See third party licensing for the original projects.

Primary features

/docs View Python documentation from discord
/pep View PEPs directly within discord
-eval Evaluate Python code
-black Blacken Python code

Additional features

  • Automatic GitHub issue linking
  • Inline Python Docs and Python Code evaluation
  • Automatic leaked Discord Webhook deletion
  • Missing python codebloc detection
  • PyPI commands to interface with packages on the Python Package Index

Click here to invite the public instance of Monty to your Discord server.

Running Locally

Monty uses quite a few services to run. However, these have been consolidated into the docker-compose.yaml file.

To deploy, first clone this repo.

Minimally, Monty can run with just a bot token, but a few more variables are recommended for a more full experience.

# required
BOT_TOKEN=

# optional but recommended
GITHUB_TOKEN= # Generate this in github's api token settings. This does not need any special permissions

From this point, just run docker compose up to start all of the services. Snekbox is optional, and the bot will function without snekbox.

Some services will not work, but the majority will.

Contact

For support or to contact the developer, please join the Support Server.