Install On Hosting
So Lets Get Started With The Discord Bot, Its Super Easy To Install It !
🖥️ Installation on Pterodactyl Panel
Create a New Server in your Pterodactyl admin panel.
Select Python Egg (use Python 3.9+).
Set allocated memory and disk space according to your needs.
Upload the Bot Files
Upload your bot’s files (
bot.py,requirements.txt,readme.md, etc.) via the file manager or SFTP.
Install Dependencies
In your server console, run:
pip install -r requirements.txt
Configure Environment Variables
In the server settings, add environment variables:
BOT_TOKEN→ Your Discord bot tokenGUILD_ID→ Your Discord server IDCODES_CHANNEL_ID→ Channel ID where generated codes are sentLOG_CHANNEL_ID→ Channel ID where logs are stored
Start the Server
Run:
python3 bot.pyYour bot should now come online and log messages in the console.
Last updated