dfrnoch / discord-sniper

🔰 Discord Nitro & Giveaway sniper! Made with Python
MIT License
176 stars 83 forks source link

i want to snipe givaway #13

Closed mangotango69202 closed 3 years ago

mangotango69202 commented 3 years ago

ok it worked now see I don't want to snipe nitro I just want it to join the giveaway and the bot they use is different and the emoji so I edited the main.py and added the bots id and also put the emoji and it doesn't join the giveaway edit the id bots id is 748489355894587432 and the emoji that they use is 👌 /774274450513985557

mangotango69202 commented 3 years ago

this is what i edited

mangotango69202 commented 3 years ago

if 'GIVEAWAY' in message.content: if giveaway_sniper: if message.author.id == 748489355894587432 or message.author.id == 748489355894587432 or message.author.id == 748489355894587432 or message.author.id == 748489355894587432: try: if not edelay: await message.add_reaction("👌") except discord.errors.Forbidden: print("" f"\n{Fore.RED}{time} - Couldnt React to Giveaway" + Fore.RESET) GiveawayInfo() if edelay: print("" f"\n{Fore.GREEN}{time} - Giveaway Found!" + Fore.RESET) GiveawayDelayInfo() else: print("" f"\n{Fore.GREEN}{time} - Giveaway Sniped" + Fore.RESET) GiveawayInfo() if notification: if edelay: toaster.show_toast("Sniper", f"Sniping Giveaway in {delay}s. Look into console", icon_path="./drop.ico", duration=7) else: toaster.show_toast("Sniper", "Giveaway Sniped! Look into console", icon_path="./drop.ico", duration=7) try: if edelay: sleep(delay) await message.add_reaction("👌") print("") print(f"{Fore.GREEN}Giveaway Sniped with delay {delay} seconds!") except discord.errors.Forbidden: print("" f"\n{Fore.RED}{time} - Couldnt React to Giveaway" + Fore.RESET) GiveawayInfo() else: return if f'Congratulations <@{Sniper.user.id}>' in message.content or f'<@{Sniper.user.id}> won' in message.content: if giveaway_sniper: if message.author.id == 748489355894587432 or message.author.id == 748489355894587432 or message.author.id == 748489355894587432 or message.author.id == 748489355894587432 or message.author.id == 748489355894587432: print("" f"\n{Fore.GREEN}{time} - Giveaway Won" + Fore.RESET) GiveawayInfo() if notification: toaster.show_toast("Sniper", "Giveaway Won! Look into console", icon_path="./drop.ico", duration=7)