The Discord Username Sniper is a script that demonstrates how to generate a random 3-letter name and update a Discord username using the Discord API. It provides the ability to send webhook notifications upon successful or failed username snipes. The project is organized into multiple files for better modularity and maintainability.
generateRandomName()
function that generates a random 3-letter name.updateUsername()
function to handle updating the Discord username using the Discord API. It also includes webhook notifications upon success or failure.Create a config.json
file in the project root directory with the following structure:
{
"webhookUrl": "https://your-webhook-url",
"token": "Your_Token",
"password": "Your_Password"
}
Replace the values "https://your-webhook-url"
, "Your_Token"
, and "Your_Password"
with your actual webhook URL, Discord token, and password, respectively.
Run the script using Node.js: node index.js
.
The script will read the configuration from config.json
, generate a random 3-letter name, update the Discord username, and log the result. If webhook notifications are enabled, it will send notifications upon success or failure.
git clone https://github.com/2M4U/Discord-Username-Sniper.git
.npm install axios
.'Your_Token'
and 'Your_Password'
in index.js
with your appropriate Discord token and password.node index.js
.This code is provided for educational purposes only. The developer holds no responsibility for any illegal or unethical use and/or termination of your account using this code. Use this code responsibly, adhere to Discord's terms of service and guidelines, and respect rate limits.