Skip to content
Sign upLog in
Profile icon

bobbypin

@bobbypin
  • ReplCraftPy

    Cover page
    Made with Python
    Recent comments (1)
    IceBlueWolfy
    IceBlueWolfy
    3 months ago
    Hello, 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 loads s = 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
Repls
Community
All repls