Skip to content

DTS-11/PizzaHat

Repository files navigation


PizzaHat Discord Bot

Your ultimate Discord companion!


ℹ️ • Info

PizzaHat is a multi-purpose bot, made to satisfy your needs, as well as your server's needs too! This project is open source so that other developers could work on it and make it even better!

• Features

  • 📌 Over 150+ commands!
  • 🔼 99% uptime.
  • 🏓 Low latency.
  • Powerful moderation.
  • 🥳 Fun commands.
  • 🎮 Fun games.
  • ⚒️ Utility commands.
  • 😎 Emoji management.
  • 📔 Advanced logging system.
  • 🌟 Starboard system.
  • 🗳 Poll voting system
  • 🏷 Tag system
  • 🎟 Ticket system
  • Updated and maintained!

• How to contribute?

  • Fork the repo.
  • Create a new branch
  • Add features/changes (with proper docs for help)
  • Format code with Black & organise imports by using isort (vscode extension)
  • Commit and push the changes
  • Submit pull request

• Self hosting

I'd prefer if you don't run an instance of this bot. Just use the invite command to invite the bot to your server. The code here is for educational an developmental purposes only!

Anyways, if you still want to self host this, here are the steps:

$ git clone https://github.com/DTS-11/PizzaHat.git
  • Install the dependencies
cd PizzaHat
pip install -r requirements.txt
  • Configuring the bot
    Create a .env file with the following format
TOKEN = your_bot_token
PG_URL = postgresql_connection_url

Create a config.py file in the utils directory

COG_EXCEPTIONS = [
    "AntiAltsConfig",
    "AutoModConfig",
    "Dev",
    "Events",
    "Help",
    "Jishaku",
]

BANNED_WORDS = [
  "list of",
  "banned words",
  "for automod",
]
  • Running the bot
python .

Run this command in 'PizzaHat/PizzaHat' directory


Note:

  • We do not provide support for self-hosting. If you are unable to self host PizzaHat by yourself, just use the bot itself which we put lot's of work into.

  • You also CANNOT USE self-hosted version commercially (ie: public bot or using this code for money).

  • You CANNOT USE PizzaHat's name, logo in your bot.

  • You MUST give credits to the repository and to the contributors.