How pbew/bot-pando works
Pandora’s Night Heaven is a Discord shop-management bot. Its main workflow runs from reception creating a service bill, through staff acceptance and customer slip submission, to payment review, scheduled job updates, and a review invitation. Separate panels support attendance, donations, tickets, administration, and optional VIP. The excerpts and source index establish several module dependencies; other cross-system links below are included only where the README documents the capability. Some subsystem implementations were not sampled.
Main entry points: payments.py Slip payments · reception.py Reception bills · bot.py Bot runtime · attendance.py Attendance
Components 25
Shop operations
- Reception bills
cogs/reception.py - Pricing rules
core/pricing.py - Slip payments
cogs/payments.py - Job scheduler
cogs/scheduler.py - Reviews
cogs/reviews.py
Staff and customers
- Request panel
cogs/requestpanel.py - Donations
cogs/donate.py - DM tickets
cogs/tickets.py - DM router
cogs/dmrouter.py - Attendance
cogs/attendance.py - Staff panel
cogs/staffpanel.py
Administration
- Admin panel
cogs/adminpanel.py - Admin commands
cogs/admin.py - Daily check-in
cogs/dailycheck.py - VIP service
cogs/vip.py - VIP lifecycle
core/vip_logic.py
Runtime and data
- Bot runtime
bot.py - Configuration
core/config.py - SQLite data
core/database.py - Google Sheets
core/sheets.py - Cycle calculations
core/cycle.py - Discord embeds
core/embeds.py
Other components
- Admin
- Customer
- Staff
Connections 26
- Admin → Reception bills: opens bills
README.md - Reception bills → Pricing rules: quotes services
cogs/reception.py - Reception bills → Attendance: checks availability
cogs/reception.py - Reception bills → Slip payments: requests payment
- Customer → Slip payments: submits slip
README.md - Admin → Slip payments: confirms slip
README.md - Slip payments → Job scheduler: updates job
- Job scheduler → Reviews: invites review
README.md - Customer → Request panel: browses services
README.md - Request panel → Donations: starts donation
README.md - Customer → DM tickets: asks questions
README.md - Staff → Attendance: clocks in
README.md - Staff → Staff panel: checks work
README.md - Admin → Admin panel: manages shop
README.md - Admin → Admin commands: runs commands
README.md - Staff → Daily check-in: checks in
README.md - VIP service → VIP lifecycle: uses lifecycle
cogs/vip.py - Bot runtime → Configuration: loads config
bot.py - Bot runtime → SQLite data: connects database
bot.py - Bot runtime → Google Sheets: starts sheets
bot.py - Attendance → Cycle calculations: uses cycle
cogs/attendance.py - Reception bills → Discord embeds: uses embeds
cogs/reception.py - Slip payments → Pricing rules: uses pricing
cogs/payments.py - Slip payments → Cycle calculations: uses cycle
cogs/payments.py - Reviews → Discord embeds: uses embeds
cogs/reviews.py - Admin panel → Discord embeds: uses embeds
cogs/adminpanel.py