Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
echan00 opened this issue Mar 16, 2023 · 2 comments

Comments

@echan00
Copy link

echan00 commented Mar 16, 2023

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'
@solo449
Copy link

solo449 commented Apr 13, 2023

get discord.py or just do pip install discord

@theAbdoSabbagh
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants