Caution
This discord bot is meant to be private. It means it's been made exactly for just a Discord Server owned by myself.
Note
There's no structure to allow the usage for other servers, however you're free to take and edit it as you please.
Tip
Bot token is stored inside a .env file, which contains the following key: DISCORD_API_TOKEN = "your bot token"
All other important stuff that you don't might wanna commit on your GitHub repo or keep inside the code are inside a file in the root folder, as following:
from dotenv import load_dotenv
import os
import pathlib
load_dotenv()
DISCORD_API_SECRET = os.getenv('DISCORD_API_TOKEN')
BASE_DIR = pathlib.Path(__file__).parent
COG_DIR = BASE_DIR / "cogs"
MAX_EMBED_LENGHT = 10
LAVALINK_INFO = {
"server": "lavalink server here",
"password": "password here"
}- Basic Moderation Commands
- Flask Intergration
- Well done comments all around
- Improve code efficency
- Possibly use a Database for more scenarios
- Solve '404 Unknown Interaction' randomly appearing
- Anyone is free to open a Pull Request to help, suggest or point out improvements that can be made <3
- If you need to ask something, join the Discord Server mentioned above, i'll be more than happy to answer.
- I'm NOT a professional Python developer at all, i just do everything i do for fun.
Peace ![]()