No description
Refactor main.py to implement Flask app, SQLAlchemy models for Bot and BotLog, and health check functionality. Update pyproject.toml with new dependencies and add new HTML templates for the user interface. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e72fc1b7-94bd-4d6c-801f-cbac2fae245c Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 5f598d52-420e-4e2c-88ea-a4c3e41fdcb6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/e72fc1b7-94bd-4d6c-801f-cbac2fae245c/jW8PJKQ Replit-Helium-Checkpoint-Created: true |
||
|---|---|---|
| attached_assets | ||
| templates | ||
| .gitignore | ||
| .replit | ||
| main.py | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
| replit.md | ||
| replit.nix | ||
Python Discord Bot
This is a starting point for making your own Discord bot using Python and the discordpy library. Read their getting-started guides to get the most out of this template.
Getting Started
To get set up, you'll need to follow these bot account setup instructions,
and then copy the token for your bot and added it as a secret with the key of TOKEN in the "Secrets (Environment variables)" panel.
FAQ
If you get the following error message while trying to start the server: 429 Too Many Requests (accompanied by a lot of HTML code),
try the advice given in this Stackoverflow question:
https://stackoverflow.com/questions/66724687/in-discord-py-how-to-solve-the-error-for-toomanyrequests