Update websocket_example.py

This commit is contained in:
Andrey 2022-04-02 08:58:59 +04:00 committed by GitHub
parent 45abeba5d0
commit b1f40db14a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ s = aternos.list_servers()[0]
socket = s.wss()
@socket.wssreceiver(atwss.Streams.console)
def console(msg):
async def console(msg):
print('Received: ' + msg)
s.start()