remoteDiscordShell icon indicating copy to clipboard operation
remoteDiscordShell copied to clipboard

It doesn't work

Open Androser420 opened this issue 3 years ago • 5 comments

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?

Androser420 avatar Sep 25 '22 14:09 Androser420

pretty sure you are missing something. But what i dont know let me try to run this bot on my vps i will report back

Legion07 avatar Oct 06 '22 20:10 Legion07

I got the same error : TypeError: init() missing 1 required keyword-only argument: 'intents'

Legion07 avatar Oct 06 '22 20:10 Legion07

its a version issue use: pip install -U discord==1.7.3 pip install -U discord.py==1.7.3

Legion07 avatar Oct 06 '22 20:10 Legion07

it works fine with it now!!

Legion07 avatar Oct 06 '22 20:10 Legion07

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

Hyphonical avatar Nov 23 '23 20:11 Hyphonical