Skip to content
Open navbar menu
Sign UpLog In
Profile icon


  • ReplCraftPy

    Cover page
    Made with Python
    Recent comments (1)
    1 year ago

    Hello, thanks for making this, however I get 2 errors

    Traceback (most recent call last):
    File "", line 5, in <module>
    client = ReplCraft(token)
    File "/home/runner/ReplCraftPy/", line 8, in __init__
    self.config = json.loads(b64decode(token.split('.')[1]+'===='))
    File "/nix/store/xxxxxxxxxxxxxxxxxxxx-python3-3.8.12/lib/python3.8/json/", 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


    "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