FIRST INSTALL (WINDOWS)

First time setting things up?

📌 Step 1: Download the Bot Files ➡ You will receive the bot files (bot.py, config.py, etc.). ➡ Extract the files anywhere on your PC (e.g., Desktop or C:\DiscordBot\). ========================================================================

Step 2: Install Python

➡ Download Python from python.org/downloads. ➡ During installation, make sure to check:

☑ Add Python to PATH

➡ Then click Install Now. ========================================================================

📌 Step 3: Create a Discord Bot in the Developer Portal

  • Click "New Application", enter a name, and click "Create".

  • Go to Installation > Open the Install link dropdown > Select None > Confirm.

  • Go to Bot > Deselect both Public Bot points > select all Privileged Gateway Intents > Confirm.

  • Copy the Bot Token (You will need this for config.py).

  • Go to OAuth2 > URL Generator, select "bot" and "applications.commands".

  • Below that, select "Administrator" and copy the invite link.

  • Open the link and add the bot to your server.

========================================================================

📌 Step 4: Edit config.py ➡ Open config.py in a text editor like Visual Studio Code or Notepad++. ➡ Replace Token, GuildID, and other settings as needed. 💾 Save the file after editing.

========================================================================

📌 Step 5: Install Required Software & Dependencies

Open CMD or PowerShell in the bot folder (Shift + Right Click → Open Terminal). Then run:

python -m pip install --upgrade pip

Then install the required modules:

pip install disnake mysql-connector-python requests pytz matplotlib

========================================================================

📌 Step 6: Start the Bot

➡ In the same terminal, run:

python bot.py

➡ The bot will now start and connect to Discord.

🟢 Keep the terminal window open while the bot is running. To stop the bot, simply press CTRL + C.

🎉 Your bot is now online and running 24/7! 🚀 💬 Need help? Feel free to open a ticket

Last updated