/PizzaHat

Multi-purpose bot made with discord.py

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0


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.
  • 🛡️ Effective automod and antiraid system.
  • 🥳 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 & sort imports with Ruff
ruff check --select I --fix .
ruff format .
  • 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 bad_words.py file in the utils directory

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.

  • You are also NOT ALLOWED to change/remove the credits command.