No description
Adds a new GET endpoint, /create-invite/:guildId, to the bot's HTTP server. This endpoint allows authorized administrators to generate a single-use invite link for a specified guild. Replit-Commit-Author: Agent Replit-Commit-Session-Id: aed2e46d-25bb-4b73-81a1-bb9e8437c261 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: af6c36e5-b176-44d7-a9c3-471f295835ca Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/aed2e46d-25bb-4b73-81a1-bb9e8437c261/qURK7i9 Replit-Helium-Checkpoint-Created: true |
||
|---|---|---|
| aethex-bot | ||
| attached_assets | ||
| .gitignore | ||
| .replit | ||
| 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