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

It doesn't work #14

Open
Androser420 opened this issue Sep 25, 2022 · 5 comments
Open

It doesn't work #14

Androser420 opened this issue Sep 25, 2022 · 5 comments

Comments

@Androser420
Copy link

Androser420 commented Sep 25, 2022

Hi, whenever I try to run the script by typing
"python3 pyDiscordShellBot.py"
in the terminal, I always get this exact error and I don't know how to fix it

Traceback (most recent call last):
File "/home/kali/Desktop/remoteDiscordShell/pyDiscordShellBot.py", line 31, in
CLIENT = discord.Client() # Discord client
TypeError: Client.init() missing 1 required keyword-only argument: 'intents'

Does anyone know why this happens?

@Hyphonic
Copy link

Change line 31 of pyDiscordShellBot.py to CLIENT = discord.Client(intents = discord.Intents.default())

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
@Hyphonic @Androser420 and others