• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Using websockets in scripts

cakemasher

Well-Known Member
Contributor
Hey!

I noticed that there is WS (WebSockets) module available in the scripting API. However, I couldn't find any 'working' examples.

Can I use the WS module as server, allowing clients from websites to connect to it? Or does it acts as a client? If so, how do I connect to a WebSocket server?

Kind Regards,
Cakemasher


Edit:
I noticed the documentation of websockets got updated with examples. Thanks!
 
Last edited:
Top