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
This commit is contained in:
+19
-1
@@ -1,5 +1,5 @@
|
||||
# Byte-compiled / optimized / DLL files
|
||||
*__pycache__/
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
@@ -7,10 +7,12 @@
|
||||
venv/
|
||||
env/
|
||||
ENV/
|
||||
.venv/
|
||||
|
||||
# Environment variables
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# IDE
|
||||
.vscode/
|
||||
@@ -27,6 +29,7 @@ config.json
|
||||
token.txt
|
||||
logs/
|
||||
*.log
|
||||
*.log.*
|
||||
|
||||
# Database
|
||||
*.db
|
||||
@@ -41,3 +44,18 @@ logs/
|
||||
# Cache files
|
||||
*.cache
|
||||
__pycache__/
|
||||
|
||||
# Python
|
||||
*.pyc
|
||||
.pytest_cache/
|
||||
.coverage
|
||||
.pytest_cache/
|
||||
.mypy_cache/
|
||||
|
||||
# Web interface
|
||||
web/static/uploads/
|
||||
web/static/cache/
|
||||
|
||||
# System
|
||||
.DS_Store
|
||||
._*
|
||||
Reference in New Issue
Block a user