DiscordScraper
DiscordScraper copied to clipboard
TypeError: __init__() missing 1 required keyword-only argument: 'intents'
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'
get discord.py or just do pip install discord
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.