From 2879049220ca0c3bae84a22d5ef07d8ff9db71fc Mon Sep 17 00:00:00 2001 From: RiftSTW Date: Thu, 12 Oct 2023 20:40:29 -0500 Subject: [PATCH] README Fix & Discord Username in Console --- README.md | 4 +++- index.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8f1a6c1..3f2fdba 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # FN-RPC Display your Fortnite Statistics on your Discord Profile! -#### SETUP GUIDE +### SETUP GUIDE 1. Install [Node.JS](https://nodejs.org/en) 2. Run INSTALL PACKAGES.bat @@ -10,6 +10,8 @@ Display your Fortnite Statistics on your Discord Profile! 5. Paste in your Epic Games Account ID to the epicID field in settings.json 6. Run start.bat +### [Support Server](https://discord.gg/GvHfG33) + ### Common Issues > The RPC won't connect! diff --git a/index.js b/index.js index 4732bc4..df00988 100644 --- a/index.js +++ b/index.js @@ -35,9 +35,9 @@ async function setStatus(bp, wins, kills, deaths, progress, username) { } rpc.on("ready", async () => { - console.log('FN-RPC is now initalized.'); + console.log(`FN-RPC is now initalized for Discord User: ${rpc.user.username}.`); GetStats(); -}) +}); rpc.login({ clientId: clientID