Skip to content

Rishies2010/L-DP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L-DP

The Linux-Discord Port Collaboration Repository

Welcome to the L-DP Project, a repository dedicated to managing and maintaining the development of a bot that simulates a Linux environment on Discord.

Note: This is not a full Linux port but rather a simulation designed for Discord users. Please refrain from modifying any files unless you have explicit permission to do so.

Installation

To set up the project locally, follow these steps:

For Windows

Using PowerShell

# Clone and setup
git clone https://github.com/Rishies2010/L-DP.git
cd L-DP
python -m venv env
.\env\Scripts\Activate.ps1
pip install -r requirements.txt

Using Command Prompt (CMD)

:: Clone and setup
git clone https://github.com/Rishies2010/L-DP.git
cd L-DP
python -m venv env
.\env\Scripts\activate.bat
pip install -r requirements.txt

Note: Make sure you have Python and Git installed. For PowerShell, you may need to run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser first to allow script execution.

For macOS/Linux

  1. Clone the Repository

    git clone https://github.com/Rishies2010/L-DP.git
    cd L-DP
  2. Set Up Environment

    python3 -m venv env
    source env/bin/activate
    pip3 install -r requirements.txt
  3. Run the Bot

    python3 bot.py

Prerequisites

You'll need to create two configuration files before running the bot:

1. src/ldp-meta/config.json

{
    "PREFIX": "! (Your Desired Prefix)", 
    "CHANNEL_ID": "[CHANNEL_ID_FOR_AUTODELETE]"
}

2. src/ldp-meta/bot.json

{
    "BOT_TOKEN": "[YOUR_BOT_TOKEN]"
}

Note: If you miss creating these files, the script will guide you through making them. You can get your bot token from the Discord Developer Portal and channel ID by enabling Developer Mode in Discord and right-clicking the channel.

Running the Bot

Windows

Navigate to the src directory and run:

cd src
python bot.py

macOS/Linux

Navigate to the src directory and run:

cd src
python3 bot.py

Note: Make sure you have activated your virtual environment and installed all dependencies before running the bot. The bot will automatically load configurations from the ldp-meta directory.

If you encounter any issues:

  1. Verify your configuration files are properly set up
  2. Ensure your bot token is valid
  3. Check that your virtual environment is activated (env should appear in your terminal prompt)

Join Us

Connect with the community and contribute to the project by joining the L-DP Discord Server.

About

The Linux - Discord Port Push Hub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages