Files
new_lottery_bot/.gitignore
Andrew K. Choi 72e95db811
Some checks reported errors
continuous-integration/drone/push Build encountered an error
feat: add bot control script to prevent multiple instances
- Add bot_control.sh script for safe bot management
- Prevent 'Conflict: terminated by other getUpdates' error
- Add Makefile commands: bot-start, bot-stop, bot-restart, bot-status, bot-logs
- Add BOT_MANAGEMENT.md with usage instructions
- Use PID file to track single bot instance
- Auto-stop all old processes before starting
- Add .bot.pid to .gitignore

Fixes issue where multiple bot instances cause command processing failures
2025-11-17 06:44:43 +09:00

61 lines
600 B
Plaintext

# Файлы среды
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# База данных
*.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