dfrnoch / discord-sniper

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

No specified parameter 'intent' for the var Sniper #47

Open CodeBuzz-ML opened 1 year ago

CodeBuzz-ML commented 1 year ago

Traceback (most recent call last): File "C:\Users\DELL\Documents\DiscordNitro\discord-sniper-master\sniper\Main.py", line 100, in Sniper = commands.Bot( ^^^^^^^^^^^^^ TypeError: BotBase.init() missing 1 required keyword-only argument: 'intents'

loganbriggs08 commented 1 year ago

Strange, Not exactly sure why you are getting the error because as far as I am aware you don't have to pass intents with discord.py-self but you can try passing intents=discord.Intents.all() into commands.Bot