I am making a bot for discord which connects a maple server (client) to my bot (server). My bot is on separate hosting from my server and has opened a socket connection properly to be connected on. On server start, my server would connect to the bot, but for some reason, I can't get it to work. There is little documentation that is helpful to me for creating a java based client connection to a server via websocket.
The client should have an event emitted onRun or onConnect when the connection is established, which I have printing a simple System.out.println, but it's not being triggered.
Could someone help me on this? All help is appriciated
The client should have an event emitted onRun or onConnect when the connection is established, which I have printing a simple System.out.println, but it's not being triggered.
Could someone help me on this? All help is appriciated