Socials are now included in lanyard
This commit is contained in:
parent
84f53c40b8
commit
c90ebd23b0
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -103,6 +103,8 @@ function socketeer() {
|
|||
}))
|
||||
} else if (data.op == 0) {
|
||||
lanyardData = data
|
||||
lanyardData.d.socials = JSON.parse(fs.readFileSync(path.join(configPath, "socials.json")))
|
||||
console.log(lanyardData)
|
||||
|
||||
for (let index = 0; index < sockets.length; index++) {
|
||||
var socketData = sockets[index]
|
||||
|
|
Loading…
Reference in a new issue