Advertisement
Guest User

Json-Message

a guest
May 20th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.54 KB | None | 0 0
  1.  String messageJSON = "{\n" +
  2.                     "  \"username\": \"Stats for %playername%\",\n" +
  3.                     "  \"avatar_url\": \"%playeravatar%\",\n" +
  4.                     "  \"embed\": {\n" +
  5.                     "    \"title\": \"Playing on %rankurl% (%eloname%) - Elo with a %winrate%% Winrate (Played %played_games% Games and won %won_games% of them!)\",\n" +
  6.                     "    \"description\": \"%neweloinfo%\",\n" +
  7.                     "    \"color\": 1,\n" +
  8.                     "    \"timestamp\": \"%timestamp%\",\n" +
  9.                     "    \"footer\": {\n" +
  10.                     "      \"icon_url\": \"https://vignette.wikia.nocookie.net/overwatch-game/images/b/b3/Overwatch_%28organization%29.png/revision/latest?cb=20160519173535&path-prefix=pl\",\n" +
  11.                     "      \"text\": \"by OverDodo\"\n" +
  12.                     "    },\n" +
  13.                     "    \"thumbnail\": {\n" +
  14.                     "      \"url\": \"https://orig00.deviantart.net/81b9/f/2017/194/a/e/ae2ce59ed8c96955785bf2b43e7a96ad-dbg8w8n.gif\"\n" +
  15.                     "    },\n" +
  16.                     "    \"fields\": [\n" +
  17.                     "      {\n" +
  18.                     "        \"name\": \"Level:\",\n" +
  19.                     "        \"value\": \"**%level%**\",\n" +
  20.                     "        \"inline\": true\n" +
  21.                     "      },\n" +
  22.                     "      {\n" +
  23.                     "        \"name\": \"Skillrating:\",\n" +
  24.                     "        \"value\": \"**%skillrating%**\",\n" +
  25.                     "        \"inline\": true\n" +
  26.                     "      },\n" +
  27.                     "      {\n" +
  28.                     "        \"name\": \"Elims (COMP):\",\n" +
  29.                     "        \"value\": \"**Total**: `%elimscomp%`\\n**Most in Game**: `%mostelimscomp%`\",\n" +
  30.                     "        \"inline\": true\n" +
  31.                     "      },\n" +
  32.                     "      {\n" +
  33.                     "        \"name\": \"Solokills (COMP):\",\n" +
  34.                     "        \"value\": \"**Total**: `%soloelimscomp%`\\n**Most in Game**: `%mostsoloelimscomp%`\",\n" +
  35.                     "        \"inline\": true\n" +
  36.                     "      },\n" +
  37.                     "      {\n" +
  38.                     "        \"name\": \"Elims (QP):\",\n" +
  39.                     "        \"value\": \"**Total**: `%elimsqp%`\\n**Most in Game**: `%mostelimsqp%`\",\n" +
  40.                     "        \"inline\": true\n" +
  41.                     "      },\n" +
  42.                     "      {\n" +
  43.                     "        \"name\": \"Solokills (QP):\",\n" +
  44.                     "        \"value\": \"**Total**: `%soloelimsqp%`\\n**Most in Game**: `%mostsoloelimsqp%`\",\n" +
  45.                     "        \"inline\": true\n" +
  46.                     "      },\n" +
  47.                     "      {\n" +
  48.                     "        \"name\": \"Most played Heroes (QP):\",\n" +
  49.                     "        \"value\": \"**Top1**: `%top1heroqp%`\\n**Top2**: `%top2heroqp%`\\n**Top3**: `%top3heroqp%`\",\n" +
  50.                     "        \"inline\": false\n" +
  51.                     "      },\n" +
  52.                     "      {\n" +
  53.                     "        \"name\": \"Most played Heroes (COMP):\",\n" +
  54.                     "        \"value\": \"**Top1**: `%top1herocomp%`\\n**Top2**: `%top2herocomp%`\\n**Top3**: `%top3herocomp%`\",\n" +
  55.                     "        \"inline\": false\n" +
  56.                     "      }\n" +
  57.                     "    ]\n" +
  58.                     "  }\n" +
  59.                     "}";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement