better-top.gg
Advanced tools
Comparing version 1.4.7 to 1.4.8
11
index.js
@@ -14,5 +14,3 @@ const DBL = require('@top-gg/sdk'); | ||
if(!this.dbl)return; | ||
this.dbl.postStats({ | ||
serverCount: this.client.guilds.cache.size | ||
}); | ||
this.dbl.postStats(); | ||
}, | ||
@@ -22,2 +20,3 @@ auto_post: function(timeMS){ | ||
if(timeMS <= 1000)timeMS = (1000*60*60); | ||
timeMS /= 12; | ||
this.post(); | ||
@@ -47,3 +46,3 @@ setInterval(() => { | ||
get_votes: async function(){ | ||
if(!this.dbl)return; | ||
if(!this.dbl)return null; | ||
const votes = await this.dbl.getVotes(); | ||
@@ -59,3 +58,3 @@ if(!votes)return null; | ||
is_weekend: async function(){ | ||
if(!this.dbl)return; | ||
if(!this.dbl)return null; | ||
const isWeekend = await this.dbl.isWeekend(); | ||
@@ -65,2 +64,2 @@ return isWeekend; | ||
} | ||
module.exports = BetterTop; | ||
module.exports = BetterTop; |
{ | ||
"name": "better-top.gg", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"description": "This is an API that creates shortcuts for the top.gg API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
3059