ReplCraftPyMade with PythonRecent comments (1)IceBlueWolfy1 year ago
Hello, thanks for making this, however I get 2 errorsTraceback (most recent call last):File "main.py", line 5, in <module>client = ReplCraft(token)File "/home/runner/ReplCraftPy/replcraftpy.py", line 8, in __init__self.config = json.loads(b64decode(token.split('.')+'===='))File "/nix/store/xxxxxxxxxxxxxxxxxxxx-python3-3.8.12/lib/python3.8/json/__init__.py", line 343, in loadss = s.decode(detect_encoding(s), 'surrogatepass')UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 2: invalid continuation byte
and"websocket" has no method "create_conneciton"
I would fix them myself but im not sure what the first one is trying to accomplish, and the second one might be because you have 2 websocket libraries installed?
I also have not changed the code other than adding my token to the env