Closed huybt22 closed 7 months ago
Could you explain how Flask improvement work?
@nitro2 In case using free deployment service, after period of inactivity, the bot will go to sleep. We use Flask to run as a web application, then manually access live website to trigger the restart but all data lost. We can ping the website to keep the bot alive using uptime monitoring services.
Refs: https://docs.render.com/free#free-web-services https://dev.to/12944qwerty/hosting-a-discord-py-bot-with-repl-it-3l5a
Could we move Flask to new file and keep bot.py standalone?
Could we move Flask to new file and keep bot.py standalone?
Flask functions are now separated, please check.
Instructions are added in README.md
status
command, now also showing player list with alive/dead status, role list