Skip to content

Commit

Permalink
Update interlinked.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GleammerRay committed Jan 19, 2024
1 parent dbb93e5 commit 7f40190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interlinked.js
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ export class InterlinkedGuild {
}

static buildServerField(server) {
return `{"name":"${server.playerCount == 0 ? ':red_circle:' : ':green_circle:'} ${server.name.replaceAll('\\', '\\\\\\\\')}","value":"Players: **${server.playerCount}/${server.maxPlayerCount}**\\nConnect: steam://connect/${server.address}\\nIP: \`${server.address}\`\\nMap: \`${server.mapName}\`"}`;
return `{"name":"${server.playerCount == 0 ? ':red_circle:' : ':green_circle:'} ${server.name.replace(/\\/g, '\\\\\\\\')}","value":"Players: **${server.playerCount}/${server.maxPlayerCount}**\\nConnect: steam://connect/${server.address}\\nIP: \`${server.address}\`\\nMap: \`${server.mapName}\`"}`;
}

buildServerListMessage(serverList, image = null, showInactive = false, components = serverListComponents) {
Expand Down

0 comments on commit 7f40190

Please sign in to comment.