mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-03 11:17:18 +02:00
totalCount & totalPoints should be numbers
This commit is contained in:
parent
207711f1d1
commit
bec497b209
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ exports.getModule = class UserAchievementsEarned extends MenuModule {
|
|||
realName : this.client.user.getProperty(UserProps.RealName),
|
||||
location : this.client.user.getProperty(UserProps.Location),
|
||||
affils : this.client.user.getProperty(UserProps.Affiliations),
|
||||
totalCount : this.client.user.getProperty(UserProps.AchievementTotalCount),
|
||||
totalPoints : this.client.user.getProperty(UserProps.AchievementTotalPoints),
|
||||
totalCount : this.client.user.getPropertyAsNumber(UserProps.AchievementTotalCount),
|
||||
totalPoints : this.client.user.getPropertyAsNumber(UserProps.AchievementTotalPoints),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue