D1stanceC0mmander is a potent tool that empowers users without the required permissions to execute commands through a Discord bot on an alternative server.
I am not responsible for any damage or disrespect caused to others or their servers. I am solely creating scripts for other people. This is for educational purposes only.
You can git clone https://github.com/independent-coder/D1stanceC0mmander.git
, install requirements, modify the .env
file, and put your bot token and other configurations.
In this section we will put our setup for the D1stance C0mmander bot.
Create a server where there's no one. It will be our control center.
- Go to Python - Downloads then download the latest version.
- Open the installer and tick the
Add python.exe to PATH
, then click install and let it do its thing. - Finally, open
cmd
then typepython - version
and now it should displayPython "VERSION"
.
- To create the bot and get its token, go to Discord Developer Portal.
- Create a new application, then name it to be credible for others to add it more easily and finally accept Discord Developer terms.
- Personalize the bot (Add a profile picture or a description).
- Go into the bot section, click Reset token, then it will display the bot token. Note it somewhere; we will need it after.
- Still in the bot section, scroll down a little bit then in Privileged Gateway Intents activate all three (PRESENCE INTENT, SERVER MEMBERS INTENT, MESSAGE CONTENT INTENT).
- Finally, go into the OAuth2 tab, scroll at the bottom, and you will see OAuth2 URL Generator. Select bot, then select the permission the bot will have; I will choose admin for simplicity.
- Copy the GENERATED URL, add it to your server, and send the URL to the owner of the victim's server.
And there you go! You've created your bot and added it to your server and the victim's server.
- Ensure you have Git installed correctly.
- Open
cmd
, Navigate to a directory where you will have D1stanceC0mmander installed. - Clone the repository:
git clone https://github.com/independent-coder/D1stanceC0mmander.git
. - Navigate to the project
cd D1stanceC0mmander
. - Install the required dependencies:
pip install -r requirements.txt
. - Create a
.env
file and add your Discord bot token and other configurations. - Run the bot:
python D1stanceC0mmander.py
.
Feel free to explore and contribute to make D1stanceC0mmander even more powerful!
Make sure to set up your .env
file with the following configurations:
TOKEN=your_discord_bot_token
ALLOWED_SERVER_ID=your_allowed_server_id
Token means the token of the bot. Allowed Server ID means the control server.
This bot and Python work using Discord's API to run on Python. To make this work, you will need to create a server with you and your bot, then make the owner of another server add the bot with the necessary permissions (Admin). Then, from your very own server, you can simply execute commands on other servers! (With their permission.) (You can still try it without their permission 😉)
- Spam Command: Spam a message in a server channel with customizable parameters.
- User Info Command: Display detailed information about a user.
- Assign Role Command: Assign a role to a member in a specified server.
- Clear Command: Clear a specified number of messages in a channel.
- Joined Server Command: Display detailed information about each server the bot is in.
- Export Servers Command: Export information about joined servers to a text file.
- Display Commands Command: Display available commands in an embed and remove other commands.
If you have good knowledge in Python and Discord bot API, you can contribute and contact me on Discord, and we will talk about it. My name is pingui_8163.
This project is licensed under the MIT License - see the LICENSE.txt file for details
In Python using Discord.py and Pycharm.