DiscordScraper icon indicating copy to clipboard operation
DiscordScraper copied to clipboard

TypeError: __init__() missing 1 required keyword-only argument: 'intents'

Open echan00 opened this issue 2 years ago • 2 comments

What could be the problem?

Traceback (most recent call last):
  File "/Users/xxx/Downloads/Discord-Scraper2/source/main.py", line 2, in <module>
    from internal.selfbot import client
  File "/Users/xxx/Downloads/Discord-Scraper2/source/internal/selfbot.py", line 7, in <module>
    client = Client(chunk_guilds_at_startup = False)
TypeError: __init__() missing 1 required keyword-only argument: 'intents'

echan00 avatar Mar 16 '23 00:03 echan00

get discord.py or just do pip install discord

solo449 avatar Apr 13 '23 00:04 solo449

Adjust the commands to how python is setup in your machine.

python3 -m pip uninstall discord -y
python3 -m pip install discord.py-self

Your error shows that you're using discord.py which is a different library than discord.py-self. This library uses discord.py-self, a version of discord.py but for selfbots, aka user accounts.

theAbdoSabbagh avatar May 20 '23 16:05 theAbdoSabbagh