_ _
| | | |___ ___ _ __ _ __ __ _ _ __ ___ ___
| | | / __|/ _ \ '__| '_ \ / _` | '_ ` _ \/ __|
| |_| \__ \ __/ | | | | | (_| | | | | | \__ \
\___/|___/\___|_| |_| |_|\__,_|_| |_| |_|___/
____ _ _
/ ___| |__ ___ ___| | _____ _ __
| | | '_ \ / _ \/ __| |/ / _ \ '__|
| |___| | | | __/ (__| < __/ |
\____|_| |_|\___|\___|_|\_\___|_|
Version: UCv1.4.0-stable
A powerful tool for automatically checking the availability of Discord usernames. This tool uses advanced color detection to identify when a username is available in Discord's interface, creating a borderless overlay to track the status area.
- Dual-Mode Username Checking:
- File Sniper: Types usernames from a wordlist directly into Discord's username field
- Random Sniper: Generates and checks random 3-4 letter usernames
- Visual Detection System: Uses advanced color detection to identify Discord's success/error messages
- Visual Border Overlay: Shows precisely which area is being monitored
- Real-time Discord Notifications: Sends webhooks when available usernames are found
- Colorful Console Interface: Shows progress with a user-friendly ASCII art interface
- Stable Window Management: Designed to work well alongside Discord without interference
- Smart Input Field Management: Automatically cleans the input field between attempts
- Python 3.6+
- Windows OS (uses Win32 API for window management)
- Discord account (to change username)
- Discord webhook URL (for notifications)
pyautogui- For screen capture and automated typingkeyboard- For keyboard hooks and input handlingrequests- For webhook functionalitypillow- For image processingnumpy- For color analysispywin32- For window management
-
Clone the repository:
git clone https://github.com/Daziusm/UsernameChecker.git cd UsernameChecker -
Install dependencies:
pip install -r requirements.txt -
Create a wordlist (for File Sniper mode): Create a file named
words.txtin the project directory with one username per line. -
Set up Discord webhook (optional): Create a webhook in your Discord server for notifications.
-
Run the script:
python random_word_typer.pyOr use the provided batch file:
run.bat -
Choose your sniper mode:
- 1) File Sniper: Uses usernames from your words.txt file
- 2) Random Sniper: Generates random 3-4 letter usernames
-
Enter your webhook URL (if prompted)
-
Focus on Discord's username change field:
- Navigate to Discord's username change screen
- You have 10 seconds to focus on the username input field
- The script will highlight the detection area with a colored border
-
Checking Process:
- The script will start checking usernames based on your chosen mode
- Available usernames will be logged and sent to your Discord webhook
- Press ESC at any time to stop the process
The Username Checker uses an advanced color detection algorithm to identify when Discord shows:
- Green messages (username available)
- Red messages (username unavailable)
- UI elements (to avoid false positives)
The detection border visualizes exactly which area of the screen is being analyzed for color changes.
The tool implements sophisticated window management to ensure the border overlay stays visible while:
- Not stealing focus from Discord
- Not interfering with other windows
- Properly cleaning up when closed
When an available username is found, the tool sends a detailed webhook message to your Discord server showing:
- The username found
- Complexity analysis
- Timestamp information
- Custom embedded image
The tool uses a sophisticated color detection system that works in multiple layers:
-
Primary Color Detection:
- Uses predefined Discord-specific colors for exact matching
- Implements color distance calculations to handle slight variations
- Maintains separate color lists for different message types:
- Success (green) colors
- Error (red) colors
- Warning (yellow) colors
- UI element colors
-
Pixel Analysis:
- Performs pixel-by-pixel analysis of the detection area
- Uses numpy arrays for efficient color processing
- Implements color distance thresholds for accurate detection:
- 30-35 units for error messages
- 40-45 units for success messages
- 20 units for UI elements
-
Text Color Detection:
- Specialized function to detect colored text on dark backgrounds
- Analyzes pixel distribution to identify text colors
- Filters out background colors to focus on text elements
- Uses color frequency analysis to determine dominant text colors
The tool performs real-time analysis of usernames:
-
Complexity Analysis:
- Length calculation
- Character type detection (numbers, special characters)
- Complexity categorization:
- Simple: Alphanumeric only
- Medium: Contains numbers or special characters
- Complex: Contains both numbers and special characters
-
Webhook Integration:
- Real-time notifications with detailed embeds
- Includes:
- Username statistics
- Timestamp information
- Complexity metrics
- Visual indicators
- Uses Discord's timestamp formatting for accurate time display
The tool implements several optimizations for efficient operation:
-
Color Detection:
- Prioritizes checking most common Discord colors first
- Uses early returns when clear signals are detected
- Implements color caching to reduce redundant calculations
-
Window Management:
- Uses Win32 API for efficient window handling
- Implements borderless overlay for minimal resource usage
- Maintains window state without interfering with Discord
-
Resource Management:
- Efficient screenshot capture and processing
- Optimized color distance calculations
- Smart cleanup of temporary resources
Adjust the RESOLUTION_POSITIONS dictionary in random_word_typer.py if the detection area is not correctly positioned for your screen resolution.
RESOLUTION_POSITIONS = {
"2560x1440": {
"box_width": 410,
"box_height": 45,
"box_y_ratio": 0.479
},
# Add your custom resolution here
}If you're experiencing detection issues, you can adjust sensitivity in color_detector_visual.py:
- Modify color distance thresholds
- Add specific colors to the detection lists
If the tool is not correctly detecting available/unavailable usernames:
- Check if the colored border is positioned correctly over Discord's status message area
- Adjust your screen resolution settings in the code
- Try running in a different color theme in Discord
If minimized applications stay minimized after using the tool:
- Make sure you're using the latest version that includes window management fixes
- Let the tool exit normally instead of force-closing
Created by Daziusm
MIT License - See LICENSE file for details
Disclaimer: This tool is for educational purposes only. Use responsibly and in accordance with Discord's Terms of Service.