mirror of
https://github.com/a-sync/game-server-watcher.git
synced 2026-06-11 01:31:40 -04:00
bug: steam://connect link not working #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dr3nz4r on GitHub (Feb 5, 2024).
Describe the bug
unlike the screenshots, the address is not a steam join link
Steps To Reproduce
Add a server with the json config from below
Expected behavior
the Address field should be a clickable steam:// join link
Screenshots or Data

Json config
@a-sync commented on GitHub (Feb 5, 2024):
hey,
i removed the steam:// prefix from the address field because it's not correct/working for non steam games.
i have plans to allow customization of the embed fields via configuration, but for now, if you want this the quickest way would be to edit the discord-bot source and put it back in.
the embed is created here:
8197f27491/src/discord-bot.ts (L181)and the line you want would look something like this:
if you need this to run in ptero, for now i suggest you create a fork, make changes there, and then edit the ptero egg install script line that starts with
git clone https:to point to your own fork instead of mine (a-sync/game-server-watcher). then install a new server with the new egg.@Dr3nz4r commented on GitHub (Feb 6, 2024):
That's exactly my use case, thanks a lot!