diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-20 12:23:09 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-20 12:23:09 +0200 |
| commit | 0149bb3dcbc19a58de69d6df9ab05f70efc03be4 (patch) | |
| tree | ae7c238c72c9e53b2228053ecdc9775cbe7dcd3d | |
| parent | dbee8b073b0103162408299df6ae4e50edde73b9 (diff) | |
| download | discordbot-0149bb3dcbc19a58de69d6df9ab05f70efc03be4.tar.gz discordbot-0149bb3dcbc19a58de69d6df9ab05f70efc03be4.zip | |
link to correct match page
| -rw-r--r-- | responses.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/responses.js b/responses.js index 62d11e2..a0c93e6 100644 --- a/responses.js +++ b/responses.js @@ -308,7 +308,7 @@ async function respondMatch(msg, ign, id, response=undefined) { const match = await api.getMatch(id); let embed = vainsocialEmbed(`${match.game_mode}, ${match.duration} minutes`, - ign + "/" + id, "vainsocial-match") + "player/" + ign + "/match/" + id, "vainsocial-match") .setTimestamp(new Date(match.created_at)); (await formatMatchDetail(match)).forEach(([title, text]) => { embed.addField(title, text, true); |
