You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Implement to-do list items and fix runtime error
This commit implements all items from the to-do list and fixes the 'no running event loop' error:
- Fix event loop error by moving scheduler initialization to on_ready() function
- Add Docker support with Dockerfile and docker-compose.yml for containerization
- Implement real-time status command (*status) showing online players
- Add automatic update system with manual (*update) and startup options
- Restructure project with organized directories (cogs, utils, scripts, docker)
- Add GitHub Actions workflows for CI/CD and automated Docker image publishing
- Create documentation for the release process
- Implement VERSION file for better version tracking
- Update help command with separate sections for user and admin commands
All requested features are now complete and the application structure is improved
for better maintainability and deployment.
print(Style.NORMAL+Fore.YELLOW+"[MCStatusBot] "+Fore.RESET+f"Update available! Auto-updating from {update_data['current_version']} to {update_data['latest_version']}...")
66
+
fromupdateimportdownload_and_install_update
67
+
ifdownload_and_install_update(update_data):
68
+
print(Style.NORMAL+Fore.GREEN+"[MCStatusBot] "+Fore.RESET+"Auto-update successful! Please restart the bot to apply changes.")
print(Style.NORMAL+Fore.YELLOW+"[MCStatusBot] "+Fore.RESET+f"Update available! ({update_data['current_version']} → {update_data['latest_version']}) Run the *update command.")
0 commit comments