Remove vchess.club URL embedding, bold font for variant name
authorBenjamin Auder <benjamin.auder@somewhere>
Sat, 20 Mar 2021 13:37:13 +0000 (14:37 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Sat, 20 Mar 2021 13:37:13 +0000 (14:37 +0100)
server/sockets.js

index ef46427..88cc2f2 100644 (file)
@@ -220,10 +220,9 @@ module.exports = function(wss) {
           notifyRoom(
             obj.page || page, obj.code, {data: obj.data}, obj.excluded);
           if (!!discordChannel && obj.code == "newchallenge") {
-            discordChannel.send("New challenge: " +
+            discordChannel.send("New challenge: **" +
               obj.data.vname +
-              " [" + obj.data.cadence + "]" +
-              " - https://vchess.club");
+              "** [" + obj.data.cadence + "]");
           }
           break;