Commit Graph

6 Commits

Author SHA1 Message Date
Nobody2503 b315069b1c feat: Add bank and wallet balance commands with improved transfer validation
- Added /bank and /wallet commands to check user balances
- Enhanced transfer validation to check for valid number input
- Included debug token logging in main function (to be removed in production)
- Added account creation logic for new users in balance commands
- Improved error handling for invalid transfer amounts
2026-06-03 11:56:09 +00:00
Nobody2503 4b07ca86b9 feat: enhance gitignore and bot prefix handling
- Updated .gitignore to properly exclude Python cache files and environment variables
- Modified bot.py to improve prefix case handling for better command recognition
- Refactored mail.py to streamline feedback email generation and database interaction
- Added environment variable loading in mail.py for better configuration management
2026-06-01 14:14:52 +00:00
Nobody2503 3e6410d112 Refactor project structure and update README; remove unused dependencies from requirements.txt and enhance database management in sql_commands.py. 2026-05-31 12:56:55 +00:00
Nobody2503 be89cc3acd Refactor database management and schema initialization
- Removed the old npc_memory.db file.
- Updated time.txt with a new timestamp.
- Refactored transaction recording in bank_functions.py to use parameterized queries.
- Enhanced DatabaseManager in sql_commands.py to support singleton pattern and improved table creation logic.
- Added methods for sanitizing SQL identifiers and parsing insert columns for upsert operations.
- Improved error handling and connection management in execute_query, fetch_one, fetch_all, and fetch_as_dataframe methods.
- Introduced a new bootstrap_database.py script for initializing the database schema.
- Updated app.py to use the new initialize_database function for database management.
2026-05-31 11:16:44 +00:00
Nobody2503 7e76353c6a Add NPC interaction system with memory and quest generation
- Introduced a new NPC system with dynamic NPCs and conversation handling.
- Implemented NPC memory using SQLite to log conversations and manage relationships.
- Added commands for talking to NPCs, listing available NPCs, and generating quests.
- Updated database schema to support NPC conversations and relationships.
- Refactored code structure to separate concerns into cogs and handlers.
2025-09-30 14:12:22 +02:00
Nobody2503 c8980f785f First Commit 2025-09-16 15:00:16 +02:00