Create a file “main.py” (or other name), then create a folder “Cogs” in which will be our commands and events. In the “main.py” file import only OS and disnake(or discord.py). give prefix, write ...
discord_bot/ ├── bot.py # Main bot file ├── requirements.txt # Python dependencies ├── setup.py # Project installation configuration ├── .env ...