How to call a Steam Server Link in C# -
i developing bot discord right now. there way call steam server link launches game given server? link looks this:
steam://connect/123.123.123.123:12345
thanks help.
my code looks this:
commands.createcommand("startark").do(async (e) => { var url = "steam://connect/31.214.160.214:7777"; var psi = new processstartinfo(); psi.useshellexecute = true; psi.filename = url; process.start(psi); // system.diagnostics.process.start("c:\program files (x86)\steam"); await e.channel.sendmessage("game started.."); }); steam says server not respond. link correct. if click it, starts game , connects server.
Comments
Post a Comment