Thanks for the replies Austin Maxouille , I should have mentioned what I've tried previously. I had tried both of your approaches before but with no success. The URL in the .env file refers to "sim.smogon.com" which is not the same as the server IP from psim.us - putting in the IP for nexus.psim.us or for the heroku app fails to connect. I'm not familiar enough with Showdown's structure to extract the websocket URI for a different server (if I can at all, anyway).
I can change the login_uri in websocket_client.py to "http://nexus.psim.us/action.php" but the login request simply receives a 307 redirect response to Showdown main (presumably because of having the default websocket).
Basically then, how would I find the websocket URI for my own server?
I can change the login_uri in websocket_client.py to "http://nexus.psim.us/action.php" but the login request simply receives a 307 redirect response to Showdown main (presumably because of having the default websocket).
Basically then, how would I find the websocket URI for my own server?