Remove discriminator's from player names

The widget API seems to always set discriminator to 0000
This commit is contained in:
Tom 2020-01-04 13:53:36 +00:00
parent 3a8164cfbc
commit f337cf6f58
No known key found for this signature in database
GPG key ID: 6A9F111228283C55

View file

@ -20,9 +20,7 @@ class Discord extends Core {
}
state.players = json.members.map(v => {
return {
name: v.username + '#' + v.discriminator,
username: v.username,
discriminator: v.discriminator,
name: v.username,
team: v.status
}
});