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.
To set up the project locally, follow these steps:
# 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
:: 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.
-
Clone the Repository
git clone https://github.com/Rishies2010/L-DP.git cd L-DP
-
Set Up Environment
python3 -m venv env source env/bin/activate pip3 install -r requirements.txt
-
Run the Bot
python3 bot.py
You'll need to create two configuration files before running the bot:
{
"PREFIX": "! (Your Desired Prefix)",
"CHANNEL_ID": "[CHANNEL_ID_FOR_AUTODELETE]"
}
{
"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.
Navigate to the src directory and run:
cd src
python bot.py
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:
- Verify your configuration files are properly set up
- Ensure your bot token is valid
- Check that your virtual environment is activated (
env
should appear in your terminal prompt)
Connect with the community and contribute to the project by joining the L-DP Discord Server.