FIRST INSTALL (Darwin)
First time setting things up?
✅ Supported: macOS 11+ on Intel and Apple Silicon (M1/M2/M3) ⚠️ Note: Basic terminal knowledge recommended
📌 Step 1: Download the Bot Files
➡ You will receive the bot files (bot.py
, config.py
, etc.)
➡ Extract them on your Mac
========================================================================
📌 Step 2: Place the Bot Files Locally ➡ Create a folder for your bot (example):
mkdir ~/mydiscordbot
cd ~/mydiscordbot
➡ Copy the bot files into this folder ========================================================================
📌 Step 3: Create a Discord Bot in the Developer Portal
Go to Discord 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 your terminal using nano or in a code editor: nano config.py
➡ Replace Token, GuildID, and other settings as needed.
💾 Save: CTRL + X
, then Y
, then ENTER
.
========================================================================
📌 Step 5: Install Required Software & Dependencies Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then install Python & screen:
brew install python screen
Upgrade pip and install dependencies:
pip3 install --upgrade pip
pip3 install disnake mysql-connector-python requests pytz matplotlib
========================================================================
📌 Step 6: Start the Bot ➡ Start a screen session and run your bot:
screen -S BOTNAME python3 bot.py
➡ The bot is now running in the background!
➡ To detach from the screen:
CTRL + A
, then D
➡ To reattach the session:
screen -r BOTNAME
🎉 Your bot is now online and running 24/7! 🚀 💬 Need help? Feel free to open a ticket
Last updated