Refator eco code. Split into modules
This commit is contained in:
15
README.md
15
README.md
@@ -486,7 +486,20 @@ Every slash command invocation is logged with the user ID, display name, and all
|
||||
├── strings.py # All user-facing strings (command descriptions, help text, errors)
|
||||
├── config.py # Environment variable loader
|
||||
├── core/
|
||||
│ ├── economy.py # TipiCOIN business logic, constants (SHOP, COOLDOWNS, EXP_REWARDS, ...)
|
||||
│ ├── economy/ # TipiCOIN business logic (re-exported via core/economy/__init__.py)
|
||||
│ │ ├── store.py # User records, per-user locks, time/cooldown helpers, txn log
|
||||
│ │ ├── house.py # House account (fines in, heists out)
|
||||
│ │ ├── levels.py # EXP, levels, vanity roles
|
||||
│ │ ├── shop.py # Item catalogue + /buy
|
||||
│ │ ├── income.py # /daily, /work, /beg, /crime, /rob, /give
|
||||
│ │ ├── gambling.py # /roulette, /slots, /rps, /blackjack
|
||||
│ │ ├── fishing.py # Fish catalogue + minigame flows
|
||||
│ │ ├── quests.py # Daily/weekly quest system
|
||||
│ │ ├── prestige.py # Prestige resets + upgrade shop
|
||||
│ │ ├── jail.py # Jail, jailbreak, bail
|
||||
│ │ ├── heist.py # Group heists against the house
|
||||
│ │ ├── leaderboards.py # All leaderboard queries
|
||||
│ │ └── admin.py # Admin mutations + season reset
|
||||
│ ├── pb_client.py # Async PocketBase REST client (auth + CRUD for economy_users)
|
||||
│ ├── sheets.py # Google Sheets read/write + in-memory cache
|
||||
│ └── member_sync.py # Role/nickname/birthday sync logic
|
||||
|
||||
Reference in New Issue
Block a user