Files
new_lottery_bot/.gitignore
Andrew K. Choi 6b24388faa
Some checks failed
continuous-integration/drone/pr Build is failing
feat: Allow assigned admins to access admin panel via command and buttons
- Modified check_admin_access() to check both super admins (.env) and assigned admins (DB)
- Updated /admin command handler to support both admin types
- Replaced all is_admin() checks with async check_admin_access() in admin panel
- Assigned admins can now use /admin command and navigate via buttons
- Super admin check (is_super_admin) remains unchanged for admin management
- Added proper async/await for database queries in all admin checks
2026-02-18 13:28:29 +09:00

64 lines
617 B
Plaintext

# Файлы среды
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.prod
# База данных
*.db
*.sqlite
*.sqlite3
# Логи
logs/
*.log
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# Виртуальные окружения
venv/
.venv/
env/
ENV/
env.bak/
venv.bak/
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
.history/
# Системные файлы
.DS_Store
Thumbs.db.bot.pid
*.bak