Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 701 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 701 Bytes

Websocket bot server for otclientv8

Version: 1.1

Requirements:

Compilation

g++ main.cpp -std=c++17 -Ofast uWebSockets/uSockets/uSockets.a -IuWebSockets/src -IuWebSockets/uSockets/src -lz -lpthread -o botserver

Using it

If you want to use your bot server in bot, before calling BotServer.init set BotServer.url, for example:

BotServer.url = "ws://127.0.0.1:8000/"
BotServer.init(name(), "test_channel")