Profile icon
bobbypin
@bobbypin
ReplCraftPy
Made with PythonRecent comments (1)IceBlueWolfy1 year agoHello, thanks for making this, however I get 2 errors
Traceback (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('.')[1]+'===='))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 byteand
"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
All Repls