Closed asdfawjbhsdhbasjindh closed 2 years ago
You have installed the mistaken websocket
library You need to use/install websocket-client
instead of websocket
.
First, uninstall websocket
:
pip uninstall websocket
and then install websocket-client
:
pip install websocket-client
Then, it should be solved.
Traceback (most recent call last): File "C:\Dank Memer Autofarm\bot.py", line 2, in
from slashCommands import *
File "C:\Dank Memer Autofarm\slashCommands.py", line 3, in
ws = websocket.WebSocket()
TypeError: WebSocket.init() missing 3 required positional arguments: 'environ', 'socket', and 'rfile'
This is the error that it gave me.