Python Requirements
- Python 3.8+ (latest recommended)
- imported discord.py library
Install Python
Install - windows
winget install Python.Python.3
Install - Ubuntu/Debian
sudo apt install python3 python3-pip -y
Get discord library
Windows/Ubuntu/Debian
pip install discord.py
Holo-Byte Components
- TheMain.py — Core bot functionality and command handling
- dotenvloader.py — Secure credential management
- .env - stores credentials
- audioop.py — Allows the script to be run on the latest version of python
Get Holo-byte Components
https://github.com/Cr33pkill/Holobyte-Syntheia-Discord-Bot/releases
Extract the components folder
Note the file directory
Make the Discord bot
Go to the Discord Developer Portal
https://discordapp.com/developers/applications
Our recommended guide for this step
https://www.youtube.com/watch?v=zrNloK9b1ro
Set up the .env file
Open the .env file in a text editor
Filling in the .env
DISCORD_TOKEN={token from the Discord Developer Portal}
Example below:
DISCORD_TOKEN=NDY3ODk0MTI3Mjk3NjE0NTY3.Demo.ExAMPLet0kENf0rTutORIA1Use
DISCORD_GUILD={id that you can copy from your guild}
Example below:
DISCORD_GUILD=123456789012345678
DISCORD_CHANNEL={id of desired alerts channel}
Example below:
DISCORD_CHANNEL=123456789012345678
OWNER1={id that you can copy from your user}
Example below:
OWNER1=123456789012345678
OWNER2={id that you can copy from your user}
Example below:
OWNER2=123456789012345678
Running the bot
in Windows/Ubuntu/Debian open terminal
cd into the file directory
cd /path/to/your/directory
Run the bot
python3 TheMain.py