Setting Up a Custom Bot
For those who selected a manual setup, here’s how to install your bot:
Python
-
Upload Files
- Use the file manager to upload your bot's source code.
-
Install Dependencies
- Open the console and run:
pip install -r requirements.txt
- Open the console and run:
-
Configure Settings
- Update your bot’s configuration file (e.g.,
config.jsonor.env) with the bot token and other details.
- Update your bot’s configuration file (e.g.,
-
Run the Bot
- Execute the bot script:
python bot.py
- Execute the bot script:
NodeJS
-
Upload Files
- Use the file manager to add your bot’s files.
-
Install Dependencies
- Run the following command in the console:
npm install
- Run the following command in the console:
-
Configure Settings
- Add your bot token and necessary parameters to the configuration file.
-
Start the Bot
- Launch the bot:
node index.js
- Launch the bot:
Java
-
Upload Files
- Upload your bot’s
.jarfile and dependencies via the file manager.
- Upload your bot’s
-
Launch the Bot
- Run the bot using:
java -jar YourBot.jar
- Run the bot using: