# How to Set Up a Discord Bot

Hosting your Discord bot has never been easier with our specialized Discord bot hosting plans. Whether you choose a preinstalled bot—**Red Bot**, **Ree6**, or **Game Server Watcher**—or prefer to create your own custom bot using **Python**, **NodeJS**, or **Java**, this guide will walk you through the setup process from purchase to deployment.

# Select Your Hosting Plan and Bot Option

## Select Your Hosting Plan and Bot Option

1. **Explore Our Hosting Plans**
    
    
    - Visit [our website](#bkmrk-explore-our-hosting-) and browse our Discord bot hosting options.
2. **Choose the Right Plan**
    
    
    - Select a plan based on your bot’s resource needs: 
        - **256MB or 512MB**: Ideal for lightweight bots or preinstalled options.
        - **1GB or 2GB**: Recommended for custom or resource-intensive bots.
3. **Pick Your Bot Option**
    
    
    - During checkout, choose one of the following: 
        - **Preinstalled Bot**: Red Bot, Ree6, or Game Server Watcher.
        - **Custom Setup**: Select a programming language (Python, NodeJS, or Java).
4. **Complete Your Purchase**
    
    
    - Finalize your order and use the credentials provided to log in to your hosting panel.

# Setting Up Preinstalled Bots

### Option 1: Red Bot

1. **Access the Hosting Panel**
    
    
    - Log in with the credentials sent to your email.
2. **Activate and Configure**
    
    
    - Navigate to the server's control panel to access Red Bot.
    - Customize settings like command prefixes, modules, and permissions.
3. **Launch the Bot**
    
    
    - Start the bot by clicking the "Start" button in the control panel.

---

### Option 2: Ree6

1. **Activate Ree6**
    
    
    - Log in and select Ree6 from the available bots.
2. **Set Up Ree6**
    
    
    - Follow the setup instructions to link Ree6 to your Discord server.
    - Customize settings such as admin permissions and bot features.
3. **Start the Bot**
    
    
    - Use the control panel to start Ree6 and verify its functionality.

---

### Option 3: Game Server Watcher

1. **Activate the Bot**
    
    
    - Log into your hosting panel and locate Game Server Watcher.
2. **Input Game Server Details**
    
    
    - Enter the IP addresses and port numbers of the game servers you wish to monitor.
3. **Begin Monitoring**
    
    
    - Start the bot to enable live tracking of game server statuses.

# 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: ```bash
        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: ```bash
        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: ```bash
        npm install  
        ```
3. **Configure Settings**
    
    
    - Add your bot token and necessary parameters to the configuration file.
4. **Start the Bot**
    
    
    - Launch the bot: ```bash
        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: ```bash
        java -jar YourBot.jar  
        ```

---

# Troubleshooting

### Common Issues

- **Bot Fails to Start**
    
    
    - Check the console for error logs. Ensure all dependencies are installed correctly, and configuration files are properly set.
- **Insufficient Permissions**
    
    
    - Verify the bot has the necessary roles and permissions in your Discord server.
- **Resource Limits**
    
    
    - Consider upgrading to a higher-tier plan if your bot requires more memory or processing power.

---

## Need Help?

If you encounter any issues or have questions, open a support ticket via the [Billing Area](https://billing.ridgelineservers.com/tickets). Our expert team is always ready to assist.

---

With our hosting plans, setting up your Discord bot is a seamless process. Choose the best option for your needs, and enjoy hassle-free bot hosting with top-notch performance!