Discondelete, is a Discord self-bot to delete dm's or purge all messages from a guild.
Named by combining the words "discord", "anaconda", and "delete".
Report Bug
·
Request Feature
To get a local copy up and running follow these simple steps.
- Open Discord
- Press
CTRL+SHIFT+I
to open the Developer Console - Copy and paste the code below into the console to automatically copy your user token to the clipboard.
window.webpackChunkdiscord_app.push([
[Math.random()],
{},
req => {
if (!req.c) {
console.error('req.c is undefined or null');
return;
}
for (const m of Object.keys(req.c)
.map(x => req.c[x].exports)
.filter(x => x)) {
if (m.default && m.default.getToken !== undefined) {
return copy(m.default.getToken());
}
if (m.getToken !== undefined) {
return copy(m.getToken());
}
}
},
]);
console.log('%cWorked!', 'font-size: 50px');
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');
Debian-based distros (using APT
)
- Python
sudo apt install python3
- Discord.py
python3 -m pip install -U discord.py
- GIT
sudo apt install git
- Clone the repo
git clone https://github.com/core-hacked/Discondelete.git
- Run the file with python
python3 main.py
Fedora / Red Hat (using DNF
)
- Python
sudo dnf install python3
- Discord.py
python3 -m pip install -U discord.py-self
- Git
sudo dnf install git-all
- Clone the repo
git clone https://github.com/core-hacked/Discondelete.git
- Run the file with python
python3 main.py
Archlinux (using PacMan
)
- Python
sudo pacman -S python
- Discord.py
python3 -m pip install -U discord.py-self
- Git
sudo pacman -S git
- Clone the repo
git clone https://github.com/core-hacked/Discondelete.git
- Run the file with python
python3 main.py
Windows (using provided installers)
- Go to python.org and download the latest version of Python (or 3.9.7).
- Follow the installation wizard and install Python.
- Go to git-scm.com, then download the installer (32-bit or 64-bit).
- follow the installation wizard and install Git.
- Open command-prompt or PowerShell and install Discord.py using PIP.
python3 -m pip install -U discord.py-self
- Clone the repo using git.
git clone https://github.com/core-hacked/Discondelete.git
- Change directory to the repo and run the file.
cd Discondelete
python3 main.py
Windows (using WinGet
)
-
WinGet
https://docs.microsoft.com/en-us/windows/package-manager/winget/⚠️ The winget command line tool is only supported on Windows 10 1709 (build 16299) or later at this time. -
Python
winget install -e --id Python.Python.3
-
Discord.py
python3 -m pip install -U discord.py-self
-
Git
winget install -e --id Git.Git
- Clone the repo
git clone https://github.com/core-hacked/Discondelete.git
- Run the file with python
python3 main.py
MacOS (using Brew
)
- Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Python
brew install python
- Discord.py
python3 -m pip install -U discord.py-self
- Git
brew install git
- Clone the repo
git clone https://github.com/core-hacked/Discondelete.git
- Run the file with python
python3 main.py
I also highly recommend using Anaconda
- Running the file and passing it a token via the prompt
python3 main.py
# Results in 4 prompts for the token, a prefix, a heartbeat timeout and the server purge prefix
Then in discord type your prefix or the default #DEL
or #PS
to purge messages from an entire server
- Running the file with arguments
python3 main.py *followed by arguments*
# arguments:
# -t or --token [token] | Specify a token
# -p or --prefix [prefix] | Specify a prefix (for double word prefix' or ones with special char's use quotes)
# -b or --heartbeat [int] | Specify the heartbeat timeout
# -s or --serverpurge [prefix] | Specify a prefix for a server purge or leave blank for default
# -o or --output | Specify if you want to output deleted messages in the console
# -h or --help | to view this in the terminal/console
Then in discord type your prefix or the default #DEL
or #PS
to purge messages from an entire server
You can also purge a set of messages in a server by adding a number after your prefix.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be... learn, inspire, and create. Any contributions you make are greatly appreciated.
- 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
This repository is distributed under the MIT License. See LICENSE
for more information.