aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-06-01 20:47:04 -0500
committermat <github@matdoes.dev>2021-06-01 20:47:04 -0500
commit732dfb76766533687982d7232078411af76bd2a9 (patch)
treefec4f1d5ae190c960477edc3a46873bfa4b58862
parent3370adde90bdddc0fd8848d1bfff111bca6701a2 (diff)
downloadskyblock-api-732dfb76766533687982d7232078411af76bd2a9.tar.gz
skyblock-api-732dfb76766533687982d7232078411af76bd2a9.tar.bz2
skyblock-api-732dfb76766533687982d7232078411af76bd2a9.zip
add info for leaderboards_count
-rw-r--r--build/database.js5
-rw-r--r--src/database.ts5
2 files changed, 6 insertions, 4 deletions
diff --git a/build/database.js b/build/database.js
index e0c8924..eb5a63f 100644
--- a/build/database.js
+++ b/build/database.js
@@ -61,8 +61,9 @@ let profileLeaderboardsCollection;
let sessionsCollection;
let accountsCollection;
const leaderboardInfos = {
- highest_crit_damage: 'This leaderboard is capped at the integer limit because Hypixel, look at <a href="/leaderboard/highest_critical_damage">Highest critical damage</a> instead.',
- highest_critical_damage: 'uhhhhh yeah idk either'
+ highest_crit_damage: 'This leaderboard is capped at the integer limit because Hypixel, look at the <a href="/leaderboard/highest_critical_damage">highest critical damage leaderboard</a> instead.',
+ highest_critical_damage: 'uhhhhh yeah idk either',
+ leaderboards_count: 'This leaderboard counts how many leaderboards people are in the top 100 for.',
};
async function connect() {
if (!process.env.db_uri)
diff --git a/src/database.ts b/src/database.ts
index 47cddbd..60fbc7e 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -109,8 +109,9 @@ let accountsCollection: Collection<AccountSchema>
const leaderboardInfos: { [ leaderboardName: string ]: string } = {
- highest_crit_damage: 'This leaderboard is capped at the integer limit because Hypixel, look at <a href="/leaderboard/highest_critical_damage">Highest critical damage</a> instead.',
- highest_critical_damage: 'uhhhhh yeah idk either'
+ highest_crit_damage: 'This leaderboard is capped at the integer limit because Hypixel, look at the <a href="/leaderboard/highest_critical_damage">highest critical damage leaderboard</a> instead.',
+ highest_critical_damage: 'uhhhhh yeah idk either',
+ leaderboards_count: 'This leaderboard counts how many leaderboards people are in the top 100 for.',
}