A Python coded discord bot that would launch/excute files on your computer (where the bot is hosted) when a command on discord is used.
Report Bug
.
This Discord bot, built using Python, empowers users to remotely execute files on their host computer directly from a Discord server. With a simple command trigger (/run), users can initiate the execution of various file types, including .bat, .lnk, .exe, and more, all within the Discord environment.
Features:
- Role-Based Permissions
- File Flexibility
- Channel Restriction
- Logging Capabilities
- Custom Responses
Python 3.12.1
Tested on:
- Windows 11
- Windows 10
- Windows Server 2022
- Windows Server 2016
- Python (Recommended: 3.12.1)
Make sure to select add to PATH when installing Python
-
Create a bot and get a token from Discord Developer Portal
Make sure to enable all three Privileged Gateway Intents
(Screenshot) -
Clone/Download the repo
-
Install Requirements
pip install -r requirements.txt
- Rename .env.example to .env and add your token and your log channel ID
DISCORD_TOKEN=<Token Here>
LOGS_CHANNEL_ID=<Log Channel ID Here>
-
Configure
config.yaml
-
Run/Start
Leos-PC-Launcher.py
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
- SpaceFahad - a nub on - SpaceFahad - Github