Skip to main content

Setting Up a Custom Bot

For those who selected a manual setup, here’s how to install your bot:

Python

  1. Upload Files

    • Use the file manager to upload your bot's source code.
  2. Install Dependencies

    • Open the console and run:
      pip install -r requirements.txt  
      
  3. Configure Settings

    • Update your bot’s configuration file (e.g., config.json or .env) with the bot token and other details.
  4. Run the Bot

    • Execute the bot script:
      python bot.py  
      

NodeJS

  1. Upload Files

    • Use the file manager to add your bot’s files.
  2. Install Dependencies

    • Run the following command in the console:
      npm install  
  3. Configure Settings

    • Add your bot token and necessary parameters to the configuration file.
  4. Start the Bot

    • Launch the bot:
      node index.js  

Java

  1. Upload Files

    • Upload your bot’s .jar file and dependencies via the file manager.
  2. Launch the Bot

    • Run the bot using:
      java -jar YourBot.jar