Welcome to the Discord Giveaway and Nitro Sniper Selfbot, your one-stop solution for automating Discord giveaways and sniping Discord Nitro codes instantly! 🎉
Built with cutting-edge anti-detection features, real-time notifications, and intelligent error handling, this selfbot allows you to maximize your chances of:
- Winning Discord Giveaways effortlessly.
- Sniping and redeeming Discord Nitro gift codes faster than anyone.
- Instantly reacts to giveaways with 🎉 emoji or clicks interactive buttons.
- Skips blacklisted giveaways using custom keyword filtering to avoid fake or spammy giveaways.
- Ensures you're entered into every legitimate giveaway to maximize wins.
- Monitors Discord servers for Nitro gift codes (e.g.,
discord.gift/...
). - Automatically redeems codes in milliseconds for the fastest sniping experience.
- Intelligent error handling and retries ensure maximum efficiency even during rate limits.
- Randomizes User-Agents and device IDs for each action.
- Mimics legitimate client activity with dynamic HTTP headers and rate-limit handling.
- Protects your account from being flagged or detected with human-like reaction delays.
- Sends real-time alerts to a configurable webhook about:
- Successful Nitro redemptions.
- Giveaway wins.
- Bot connection status and updates.
- Notifications now include detailed embeds with actionable insights.
- Logs every action to both the console and
logs.txt
file for easy tracking. - Introduced rate-limited logging to prevent spam in logs while maintaining transparency.
- Full control via
config.json
for settings like:- Discord token, blacklist, webhook notifications, and device identifiers.
- Introduced GiveawayBlacklist to avoid unwanted giveaways by filtering keywords.
- Detects giveaways from message content, embeds, and interactive components.
- Snipes Nitro codes posted in messages or embeds.
- Redesigned giveaway and Nitro detection logic for improved accuracy.
- Automatically restarts the bot in case of critical errors.
- Redesigned error messages for clarity and debugging efficiency.
This tool is ideal for:
- Discord Nitro enthusiasts looking to grab free Nitro codes instantly.
- Users interested in winning Discord giveaways efficiently.
- Developers and testers learning about Discord automation and anti-detection techniques.
Follow these easy steps to install and run the bot:
git clone https://github.com/kubaam/Discord-Giveaway-and-Nitro-Sniper-Selfbot
cd Discord-Giveaway-and-Nitro-Sniper-Selfbot
Make sure you have Python 3.8+ installed, then run:
pip install -r requirements.txt
- Create
config.json
in the project root (or update the existing file) and fill in your account details. - One account must be marked as
"is_main": true
. Additional feeder accounts can set"is_feeder": true
to snipe codes on behalf of the main profile. - Provide a realistic
user_agent
anddevice_id
for every account to reduce detection risk. - Optional settings let you fine-tune webhook notifications, giveaway filtering, Nitro rate limits, and invite sniping.
Example config.json
aligned with the current schema:
{
"accounts": [
{
"token": "MAIN_ACCOUNT_TOKEN",
"is_main": true,
"is_feeder": false,
"proxy_url": null,
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36",
"device_id": "8a3f53cf8f7c4e5ca2f8a54acb861234"
},
{
"token": "FEEDER_ACCOUNT_TOKEN",
"is_main": false,
"is_feeder": true,
"proxy_url": "http://127.0.0.1:8080",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_5_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15",
"device_id": "5b86d1f733e14bd0aa529cc77e4a2b1f"
}
],
"webhook_url": "https://discord.com/api/webhooks/...",
"webhook_notifications": true,
"bot_author_blacklist": [
432610292342587392,
1156418379050127430
],
"nitro_settings": {
"max_concurrent_snipes": 5,
"request_timeout": 8.0,
"max_retries": 3
},
"giveaway_settings": {
"min_delay_sec": 2.5,
"max_delay_sec": 7.0,
"dm_message": "Thanks for hosting!",
"global_blacklist_keywords": [
"test",
"fake"
],
"server_specific_rules": {
"123456789012345678": {
"whitelist": [
"nitro"
],
"blacklist": [
"bot"
]
}
}
},
"invite_sniper_settings": {
"enabled": false,
"min_member_count": 50,
"max_member_count": 50000,
"server_blacklist_ids": [],
"max_joins_per_hour": 5
}
}
Section | Purpose | Key Fields |
---|---|---|
accounts[] |
Defines each Discord user the selfbot will control. Exactly one is_main account is required; feeder accounts forward redeemed Nitro to the main profile. |
token , is_main , is_feeder , proxy_url , user_agent , device_id |
webhook_url & webhook_notifications |
Enables rich Discord webhook alerts for wins, snipes, and errors. | URL string, boolean toggle |
bot_author_blacklist |
Skips messages authored by listed bot IDs to avoid false positives. | Array of Discord user IDs |
nitro_settings |
Controls the Nitro redemption worker pool and retry policy. | max_concurrent_snipes , request_timeout , max_retries |
giveaway_settings |
Configures reaction delays, DM messages, and keyword filters. | min_delay_sec , max_delay_sec , dm_message , global_blacklist_keywords , server_specific_rules |
invite_sniper_settings |
Optional module that auto-joins servers that meet your criteria. | enabled , min_member_count , max_member_count , server_blacklist_ids , max_joins_per_hour |
Start the bot with:
python main.py
or use the provided launch scripts, which automatically manage a virtual environment and install dependencies:
- Windows:
launch.bat
- Linux/macOS:
./launch.sh
If startup fails with a configuration error, double-check that your JSON matches the schema described above and that every account includes a unique token, user agent, and device ID.
Message -> on_message -> check_nitro_codes / check_giveaway_message
\-> redeem_nitro_code -> webhook_notifier
- Detects Nitro codes like
discord.gift/xyz123
. - Automatically redeems the code in milliseconds, maximizing your chance of success.
- Redesigned error handling ensures the bot can recover from rate limits and other issues.
- Scans for giveaway messages with keywords like
🎁
,Ends at
, orWinners:
. - Reacts with 🎉 emoji or clicks giveaway buttons to enter seamlessly.
- Skips blacklisted giveaways using the
GiveawayBlacklist
configuration.
- Randomizes User Agents and HTTP headers.
- Handles rate limits intelligently using exponential retries.
- Changes device fingerprints for every request.
- Introduced human-like delays for reactions to mimic user behavior.
Get instant updates for:
- Nitro redemption status (success, invalid, or already claimed).
- Giveaway wins with message links and prize details.
- Redesigned notifications with detailed embeds and dynamic content.
- Limits repetitive logging to prevent spam and ensure readability.
- Tracks every major event, including giveaways, Nitro attempts, and errors.
- Blacklisted Keywords: Avoid giveaways containing fake or spammy content.
- Rate-Limited Logging: Prevent log spam with intelligent rate-limiting.
- Detailed Webhook Reports: Get actionable insights into bot performance.
- Improved Error Handling: Robust error messages and automated restarts for seamless operation.
- It can result in account suspension or permanent bans.
- Use only on secondary accounts that you can afford to lose.
- The author takes no responsibility for misuse.
Feel free to contribute or report bugs via GitHub. Pull requests are welcome!
If you appreciate this tool, you can support its development by donating here:
PayPal - Jakub Ambrus
This project is licensed under the MIT License. See LICENSE
for details.