2025

XYZBot

Personal Discord bot built with Python.

Discord Bot (Python)

Personal project: a modular Discord bot with multiple cogs + core files for handling events, logging, and utilities.

Structure / Notes

cogs/

  • afk.py → AFK system
  • cogmanager.py → manage/load/unload cogs
  • disable.py → disable specific commands
  • help.py → custom help command
  • messagelogs.py → log messages
  • misc.py → misc commands (random utilities)
  • moderation.py → mod commands (kick, ban, mute, etc.)
  • status.py → bot status updater
  • tickets.py → ticket system
  • todo.py → personal todo commands

core/

  • cogs.py → base cog loader
  • logger.py → logging setup
  • rpc.py → rich presence (Discord RPC)

data/

  • app.db → SQLite DB
  • transcripts/ → stores ticket transcripts

events/

  • commands.py → command handling
  • error_handler.py → central error handling
  • lifecycle.py → startup/shutdown events

modules/

  • _AuditLog.py → audit log utilities

utilities/

  • jsondb.py → JSON-based storage helper
  • utils.py → general helper functions

Extras

  • modular design = easy to add/remove features
  • DB + transcripts for tickets
  • error handling + logging built in
Explore more projects